Dataflow Automation Actions
Table of Contents
What is Dataflow Automation?
Zerion Dataflows provide organizations Big Data capabilities including long term storage, data management, processing, and integration without having to invest millions of dollars and a dedicated team.
How do I use the Dataflow HTTP Request to call the iFormBuilder APIs?
The purpose of this article is to demonstrate how the Oauth2 connector can be used to call all the iFormBuilder APIs.
This will allow users to build custom workflows using other APIs besides the record and options API. This includes:
- Records: Get a list of records from a specific form for use in Dataflow.
- Notification: Send custom notifications to users.
- Users: Create new users in bulk or setup integrations to create, edit, or delete users automatically.
- Forms and Element: Create or update forms and element details automatically
- and More: View the full list of APIs
Follow the steps below to setup Dataflow to call iFormBuilder APIs.
STEP 1. Configure the Oauth2 Connection by following the steps in this article.
STEP 2. Once your connection is active, load the Dataflow where you'll be working.
STEP 3. Highlight the RecordSet.
STEP 4. From the Actions drop-down menu, select HTTP Request.
STEP 5. Enter a name for your HTTP Request Action.
STEP 6. Enter an endpoint URL for the API you would like to call. In this example, I will be using the iFormBuilder get Records call, which will return a list of records for a form. The syntax will look something like this:
- Replace servername with your server name.
- Replace profile with your Profile ID.
- Replace page_id with the Page ID of your form.
- Replace element_dcn with your list of data column names you would like to retrieve.
Step 7: Select the Connection you created Step 1 or choose a different, existing Connection.
STEP 8. Select a Command to use. The list of supported commands are:
This selection will vary based upon the API you are using. For the Get Records API, it will be using the GET command.
STEP 9. Set your Headers to Content-Type and the Values to application/json.
STEP 10. It is IMPORTANT to create an event to capture the result of your requests so that you will know if your request returns any data.
STEP 11. Click Save.
STEP 12. Your Dataflow should look similar to the one below. Send some data and you will see the result of your API request in the event RecordSet.
STEP 13. Your Record Data should look similar to: