All the structures that make up the call to an endpoint must be in JSON format.
Steps create the endpoints that make up the integration. There are different types of steps for each specific action of the bot.
Add a data form integration to your answers and provide your customers with customized information, like their order status or credit card balance. These forms request data taken from the web service you use and show that information to the customer. To create a form you can use the following JSON format:
JSON: STEP FORM
The data is sent via POST method and in a row. It can be received by each input reference:
Once the form data is received and the client processes it, you must return a response in JSON format to the bot as follows:
Email form integrations gives you the possibility to collect customers’ data and send it to an email account configured in the JSON code. By adding them to your bot’s answers, you’ll be able to generate leads or get support case details easily.
JSON: EMAIL FORM