Introduction
The API Step in Hilos flows is a powerful tool that allows you to connect to any application that supports API requests. This functionality enables you to extend the capabilities of your flows by integrating with various external systems, automating processes, and retrieving or sending data. In this article, we will explore the basics of the API Step and provide a few examples to illustrate its potential.What is an API Step?
An API Step is a type of step in Hilos flows that allows you to make HTTP requests to external APIs. You can configure the API Step to send data to or retrieve data from other systems, enabling seamless integration between Hilos and your existing tools. The API Step supports various HTTP methods, including GET, POST, PATCH, and DELETE, and allows you to customize headers, query parameters, and request bodies.How to Configure an API Step
To configure an API Step, follow these steps:Add an API Step
In the flow editor, click on the
+ button to add a new step and select “Connect API” from the list of step types.Choose the HTTP Method
Select the appropriate HTTP method (GET, POST, PATCH, DELETE) based on your use case.
Configure Headers
Add any necessary headers required by the API, such as
Authorization or Content-Type.Examples
Example 1: Sending Data to a CRM
Suppose you want to update a contact’s information in your CRM whenever they complete a flow in Hilos. You can use the API Step to send a POST request to the CRM’s API with the contact’s updated details.Example 2: Retrieving Data from an External System
Imagine you need to retrieve a user’s order history from an external system and present it to them in a flow. You can use the API Step to make a GET request to the external system’s API and then use the retrieved data in subsequent steps.
The response from the API can then be used in the flow to display the order history to the user.
Example 3: Triggering an External Workflow
Suppose you want to trigger an external workflow or automation whenever a user completes a specific step in a flow. You can use the API Step to send a POST request to the external system’s API, passing any necessary data.- Set the URL:
https://api.yourworkflowtool.com/v1/trigger - Choose the HTTP Method:
POST - Configure Headers:
- Define the Request Body:

