Table of Content
Still need help?
Request support
Request Support
Help
 / 
 / 
Workflows
 / 

Workflows: REST API node

This article explains the REST API node that can be configured as part of Workflows. Learn more about using workflows here.

Note: This works only for REST APIs that accept JSON or XML payloads over HTTP POST methods or Query String payloads over HTTP GET methods.

Workflows: REST API node

Used For

  1. Sending data from Clappia to external REST-based APIs.
  2. Getting data from external REST-based APIs to fetch more details about the user inputs.

Editing the block

Click on the block and start editing on the panel that appears on the right side.

Step name

This is the name that appears in the Workflow on the left side. If there are multiple REST API nodes in the workflow, set different step names like Rest External Api, Rest Private Api etc.

Workflows: REST API node

Server Url

REST API Endpoint of the Server where the data needs to be sent. This can use variables defined in the app.

Workflows: REST API node

Method Type

Select one of GET or POST.

Query String

Optional Query String that the API accepts.It can use variables defined in the app. Learn more about using variables in workflows here.

The query String should follow the pattern –
?parameter1=value1&parameter2=value2& . . .

Workflows: REST API node

Headers

Any additional headers that the API takes. For example, Content-Type, x-api-key etc. This needs to be a valid JSON object.

Note: As of now, this does not support dynamic variable names from the app fields.

Workflows: REST API node

Body Type

Select one of JSON or XML. Depending upon this selection, the request and response types will be set.

Workflows: REST API node

 

Body

JSON/XML Payload to the REST API. Can be set only if the Method Type selected above is POST. It can use variables defined in the app. Learn more about using variables in workflows here.

Workflows: REST API node

Select fields from the API response

Use this section to pick which attributes from the API response need to be pulled in the workflow.

Note on Workflows and Bulk Operations

Workflows in Clappia run on individual submissions, such as when a user submits or manually edits a record. However, when using Bulk Upload or Bulk Edit from the Submissions tab, workflows are not triggered, even though new submissions may be added or existing ones updated.

This is because workflows are designed to process one submission at a time. Triggering them for bulk operations can lead to incomplete or inconsistent results, especially for complex workflows.

If you need workflows to run after a bulk operation, currently you will need to open each submission manually and save it. This will count as an edit and trigger the workflow normally.

FAQs
Try our free plan
It will answer many more questions within just 15 minutes.