External Request
Unlock the full potential of your applications by seamlessly integrating external APIs with Flexito. Whether you're fetching data from third-party services or submitting information to your own server, Flexito's external request feature simplifies the process, providing you with
Listen to an audio overview
A short, AI-generated podcast-style summary of this article.
Unlock the full potential of your applications by seamlessly integrating external APIs with Flexito. Whether you're fetching data from third-party services or submitting information to your own server, Flexito's external request feature simplifies the process, providing you with the flexibility and control you need.
External requests allow you to interact with APIs from third-party services or your own server. You can request or submit data efficiently.
To set up an external request, go to the Action step, find "External Request" under "Advance Actions," and click "Add your request" to begin editing.
Select a request type, such as GET or POST.
Enter your request URL or endpoint.
Adjust "URL parameters," "Headers," "Body," or "Authorization" as needed, such as setting up an API key.
Click "Test" to view the response code in area 5 under the "Response" section.
Expand "Response Headers" for more details, with received data highlighted in blue.
Select the desired data by clicking the circle on the left side.
After selection, the JSON path for the data is automatically displayed. "$" represents the entire JSON.
Choose a custom field to store the data. Create a new field by typing a name and selecting it from the drop-down, then click "Add" to include it in the mapping list.
The mapping appears in area 9. Add as many mappings as needed and click "Save."
Testing Value: Before using the Test button, ensure you provide testing data for at least one of the fields or variables in the settings.
URL Parameters
In the screenshot above, the endpoint includes a URL parameter named "user_name." Be sure to copy the endpoint and provide a test value.
Alternatively, use the URL Params section to achieve the same outcome.
Headers
Similar to URL Params, enter your key name, insert the variable, and provide a test value.
Authorization
Alternatively, place the token in the Authorization section to reduce errors (it's easy to forget the "Bearer " prefix).
For Basic Auth, enter your username and password, and the system will automatically encode them in base64.
Body
To include a file in the parameters, use multipart/form-data:
The x-www-form-urlencoded option functions like the URL Params or Headers section.
Instead of listing all payloads in x-www-form-urlencoded, you can paste an example payload in raw JSON format:
On the left, in Body Content, paste or write your JSON. When you insert a variable, the Test body content appears on the right, allowing you to specify a test JSON value.
Click "Copy from body content" to duplicate the entire JSON structure. All variables will be replaced by {{variable_name}}. Remove placeholders and input your test values.
Testing
When ready, click the Test button next to the URL endpoint or in the Response section.
Beyond data mapping tips, you might want to save response header values for future use. Expand the header, click a value, and the JSON path will appear automatically.

