Course 1: Getting started with API AutoFlow
2 min read · 9 min video
Lesson 10: Organization
Lesson Outline
- Reusable Custom Actions
- Copy Configuration
- Paste Configuration
- Import and Export Configuration
- Roll Back
- Organization
1. Reusable Custom Actions
Create once and reuse many times. For developers, you can think of it as functions. It takes an input
and gives back an output
. You create a custom action using a flow just like you would in a solutions section. The custom action can be applied in any flow.
In the below example, a simple custom action with data/set is configured. The action takes in the input
data and sets the response as the output
data.
How the data flow is explained below.
To apply the newly created custom action to the solution, go to actions *Flow category
Drag and drop the newly created custom action to the flow.
Apply the input
and output
value of the custom actions. In the below example, we are taking the HTTP request body
in the custom action input
and putting the custom actions’ output
into the HTTP response body
.
2. Copy Configuration
Select the action you want to copy. By pressing the copy icon, the configuration for the action gets copied
3. Paste Configuration
Select the paste icon.
A paste pop-up will appear. If you already copied an action, the pop-up will auto-populate.
If you are copying the configuration from another source, simply paste the configuration in the input box and press [OK].
Copy and Paste Shortcut
On the MAC, press Alt
+ drag and drop the action.
4. Upload and Export Configuration
Go to the Settings section.
Download Configuration
Press the Download button to save the configuration on your computer. The default file name is config.json
.
Upload Configuration
Press the Upload button to save the configuration on your computer.
You can choose the parts you want to upload by selecting the checkboxes.
5. Rollback
The rollback on your changes by pressing the Undo button. The rollback will take you solution back to when the last change was made.
6. Organizing Actions
Go to the Organization category to use the Group action.
Drag and drop the actions in the Group. Users can copy, move, and delete the entire group in a single action.
7. Organizing Endpoints
Creating the Endpoint Group
Select the Server for the endpoints to group. Create a new group by pressing the +
button next to Endpoint Groups.
Adding Endpoints
Press the Endpoint that you wish to group. Select the group name from the dropdown.
The endpoints can be grouped for easier organization and visualization.
Deleting Endpoint Group
From the server settings, click the group name
to delete the group.
NEXT » Lesson 11: Scheduling Flow Execution Using Timers