Instant trigger (webhook)

The instant trigger is executed immediately when the data arrives to Make.

There is nothing to configure in this module except the interface. The data processing is handled by a selected webhook.

Components

Communication

  • Communication is only optional in the instant trigger.

  • It can be used for retrieving additional data.

  • The iterate directive is not available.

  • The pagination directive is not available.

  • Only a single request can be performed.

Retrieving additional data for each bundle

If you need to retrieve additional data for each bundle, describe a request to execute for each bundle of the webhook

{
    "url": "http://example.com/api/item/{{payload.id}}",
    "response": {
        "output": {
          "id": "{{payload.id}}",
          "data": "{{body}}"
        }
    }
}

Interface

Exactly one bundle is generated with each incoming webhook.

Samples

To help the users with setting up your module, provide samples.

Available IML variables

These IML variables are available for you to use everywhere in this module:

Variable
Description

now

Current date and time

environment

TBD

temp

Contains custom variables created via the temp directive.

parameters

Contains the module’s input parameters.

connection

Contains the connection’s data collection.

common

Contains the app’s common data collection.

data

Contains the module’s data collection.

scenario

TBD

metadata.expect

Contains the module’s raw parameters array in the way you have specified it in the configuration.

metadata.interface

Contains module’s raw interface array in the way you have specified it in the configuration.

Additional variables available for the response object:

Variable
Description

output

When using the wrapper directive, the output variable represents the result of the outputdirective.

Additional variables available after using the iterate directive, i.e. in wrapper or pagination directives:

Variable
Description

iterate.container.first

Represents the first item of the array you iterated.

iterate.container.last

Represents the last item of the array you iterated.

Additional variables available for pagination and response objects:

Variable
Description

body

Contains the body that was retrieved from the last request.

headers

Contains the response headers that were retrieved from the last request.

items

When iterating this variable represents the current item that is being iterated.

Additional variables available in the instant trigger:

Variable
Description

payload

Represents the current webhook item that is being processed.

Example

Last updated