Workflow Builder
External Actions

External Actions

Workflows are the most helpful when they can interact with other applications and systems. The following actions enable Paradym workflows to interact with external systems.

API Action

Name: general/fetch
Description: Call an external API.
Version: v1

Input

The attributes key takes the following input:

ParameterTypeDescriptionRequired
method"GET" , "POST" , "PUT" , "DELETE"The HTTP Method.
urlstringThe URL to call.
payloadobjectThe data to send with your request.
queryParamsobjectThe query parameters to add to your request. The object can only contain string values
headersobjectThe API headers to add to your request. The object can only contain string values.

Output

ParameterTypeDescriptionRequired
your response dataobjectOptional response object from your request.

Usage

YAML
actions:
  - id: makeApiCall
    name: general/fetch@v1
    attributes:
      method: 'POST'
      url: 'http://localhost:4000/ing/risk-analysis'
      headers:
        x-api-header: any-value
      payload:
        name: 'John'