English

⌘K
  1. Home
  2. English
  3. Flow Designer
  4. Body

Body

To add a payload to your API call, move to the “body” tab (remember to choose the appropriate method for this type of call)

How to edit API payload

Write your payload as a JSON object in the highlighted field:

How to write a custom payload

During the conversation, the bot can collect information from the user and put it into variables, which we call “slots.”

If you want to insert a slot in your payload, you can assign it to a property of your JSON object by inserting it between double curly brackets, as in the example you see below:

{ "your_variable": "{{bot_slot_name}}" }