API Call
The API Call action allows your AI assistant to interact with external systems, services, or databases by sending HTTP requests. It supports all major HTTP methods and allows for custom pre/post-processing logic in Python.
This action is ideal for dynamic integrations like sending data, retrieving external information, triggering backend processes, or interacting with third-party APIs.
🔍 What It Does
When triggered, this action performs a direct HTTP request to the specified API endpoint. You can define the method, payload, and optionally include pre-processing and post-processing logic to manipulate the request or handle the response.
⚖️ Use this for real-time data exchange or logic branching based on external API responses.
🖼️ Action Interface
⚙️ Configuration Options
🔧 Tips
- Use
@parameter
in the endpoint, payload, or code for dynamic inputs. - Chain this with message generation or conditional actions based on response data.
- Return JSON or structured data to power follow-up tools like decision branches or summaries.
Let us know if you’d like ready-to-use API templates!