5. Initiating the
conversation
… including the limitation that it cannot initiate the
conversation
While API.AI
provides a way to
trigger an intent
without user
input, it can only
be done using the
REST API
Which means you
cannot use the
web demo
integration for
this purpose
7. Add an Event
to your Intent
The first step is to add
an Event to the API.AI
Intent you wish to
trigger.
In this example we add
the Event WELCOME to
the Default Welcome
Intent
9. Make an API request
Here you see an example of how to do
it using cURL
10. Using PHP
For an example of how to do it in PHP, check out
the following tutorial on Mining Business Data
http://miningbusinessdata.com/initiate-
conversation-api-ai-php-code-sample/