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 payloads over HTTP POST methods.

Used For

  1. Sending data from Clappia to external REST-based APIs.

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.

Server Url

REST API Endpoint of the Server where the data needs to be sent.

Note: As of now, this does not support dynamic variable names from the app fields. If the Server Url accepts query string parameters, then they cannot be dynamic. For example, if the Server Url is https://api.clappia.com/getApps?category=Sales, then this complete Url needs to be input in the Server Url field, the category value cannot be dynamically picked up from the app variables.

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.

Body

JSON Payload to the REST API. It can use variables defined in the app. Learn more about using variables in workflows here.