Custom APIs
Available only on paid subscriptions - please contact us once on a subscription to enable.

Fields
Description
How to use?



Last updated
The Custom Action tool allows you to define custom web requests for the bot to use.

Name
Name of your custom action. This will determine how the action can be called inside of your custom prompt. The name will be automatically converted to custom_api_<name>.
URL
Endpoint you want to make a request to. Query parameters are supported. Example:
Payload Template (Optional)
Request body to be sent to the endpoint. Can be empty. Example:
Headers (Optional)
Request headers to be sent to the endpoint. Can be empty.
You can use the tool just like any other existing tools. Refer to the following guide for more information.
You can have multiple instances of custom action.
In the sidebar, click on Customize to open up the customize fly-out.

In the fly-out, click on Create new action.

Then look for Custom Action.

Finally, define your custom web request and hit Create Custom Web Request. Once created, custom action will appear under Actions.
Last updated
https://your-domain.com/path?q={{param}}{
"fieldName": "value",
"anotherField": "{{param2}}" // this can be passed in by the AI by configuring the prompt
}