![]() ![]() If you need to trigger the API before a message, create the Trigger API action before it.You can insert the Trigger API action anywhere in the flow.Select the required API from the list of all the APIs configured under that bot’s API library.You can then reference the ticket ID from the response parameters. Choose the required API to append it to the text box.įor example: If you are creating a ticket for the bot conversation, you can set up a create ticket API call.The bot builder will display the list of all the APIs configured under the API library.Click on the + icon to access placeholders > APIs.Type out the message or the question to be displayed to the customer.You can add an API’s response through a message, action, or even using a condition. Edit or delete each API, or create new APIs.Display when you created the API and when it was last modified.View the type of actions set up for the API to perform (GET, POST, etc.).Search for the APIs that you have already configured.On this page, you can see the list of APIs that you have configured. You can access the API library from Flows > Configure > API library. Add or remove the required response parameters with a click of a button from the test variable responses before running them. Add or remove the required response parameters: You can reference any attributes from the response headers from any dialog in the chatbot conversation.Test: To make sure that you have correctly configured the API call, you can perform a sample test run by checking the Run Test checkbox, pass test values for the dynamic fields you have configured in the payload (for PUT, POST, and JSON methods), and verify the response headers.Add Headers: You can authorize your APIs in this field and also pass any additional parameters as headers in this section.You can also make use of placeholders using the + icon on the bottom right. For example, to create a ticket in your Freshdesk account, pass the email, priority, status, subject, and description in JSON. You can also configure a larger payload content in an expandable text editor that will format JSON automatically when pasted into it. Method: Configure the type of API call you’re looking to make - GET, PUT, POST, DELETE, or a JS function and then pass the payload accordingly.The content picker option in this field will allow you to append placeholder values like customer input, other API responses, default parameters, etc. URL/JS function name: Provide the endpoint URL here.Name: Give your API call a suitable name.The + Add new button will allow you to configure a new API call.Navigate to Flows > Configure > API library.Create a new bot or select the bot you want to edit.Instead, you can configure them once in the API library, and reuse them in any of your dialogs. You do not have to pass parameters every time you trigger an API call from a dialog. ![]() ![]() You can make extensive API calls to any external system to fetch or push data and display it as part of the bot conversation. We assure you that this change will not impact your product experience, and no action is required on your part. If you have signed up before Aug 9, 2021, please click Previous plans to view your applicable plans. We have recently refreshed our branding across our offerings and changed the names of our pricing plans.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |