How To Make An External API Request From Bot Builder And Send Response From API In Message To User ?
Last updated
Last updated
Powered By Automations
Make an External API Request: Initiate a request to Zoho Desks to create a ticket. Ensure you have the necessary API permissions and credentials.
Save the API Response: The key detail, typically the ticket number, received from the Zoho Desks API call should be stored immediately.
Use a bot field to save the ticket number. This is crucial because the bot's memory spans only the current step.
Map the Bot Field: After saving the response to a bot field, ensure you map this field in the subsequent step of your process.
This mapping allows the generated ticket number to be recognized and utilized in future steps.
Handle Multiple Outputs: If the API response includes multiple fields,
Create separate bot fields for each piece of data.
Map these fields in the next step to ensure they are accessible throughout the bot flow.
Following these guidelines, you'll be able to seamlessly integrate Zoho Desks ticket creation into your bot-driven processes, ensuring that all crucial information is captured and appropriately utilized.