Webhook
Transfer data input to an external WebHook like IFTTT or Zapier. Build your own Json body using templating and send using GET, PUT or POST request.
Parameters
Label (internal name) | Type | Default | Description |
---|---|---|---|
Webhook URL (url) | string | The WebHook full URL, including http[s]:// protocol. | |
Method (method) | select, possible values: GET (get), PUT (put), POST (post), POST MULTIPART (post-multi) |
HTTP Method used for the Request | |
Body: valid JSON or @content. For GET, JSON key/values are transformed to QueryString. (jsonBody) | textarea | JsonBody with the key:value sent to the webhook | |
File Contents (content-source) | select, possible values: .Input.Node (input), .LastOutput.StringBody (stringBody), .LastOutput.RawBody (rawBody), .LastOutput.JsonBody (jsonBody) |
input | Source to be used as file contents either in multiparts or as request body |
Read Response From (responseFrom) | select, possible values: HTTP Body (body), HTTP Headers (headers) |
body | Whether to get response data from response.Body or response.Headers |
Name (multipart-fields.mpart-name) | string | Name of the multipart | |
Value (multipart-fields.mpart-value) | string | Value of the multipart - Use @file to use Input as file upload | |
Type (multipart-fields.mpart-ctype) | select, possible values: String (key/value) (string), File Contents (see below - declare filename in value) (content), File Path (read contents - use base as filename) (path) |
string | Parameter type |
Header Name (headers.header-name) | string | Header Name | |
Header Value (headers.header-value) | string | Header Value | |
Handle Response (responseTarget) | Possible Values Below | Attach response to... (leave empty to discard) | |
• Json Body (JSON-encoded Data) (json) | responseTarget | ||
• Raw Body (binary) (raw) | responseTarget | ||
• String Body (string) | responseTarget | ||
• Variable (varBinary) | responseTarget | ||
- Name (varName) | string | Variable Name | |
- Data Type (varType) | select, possible values: String (dump as string) (string), Object (decode from JSON) (object), Array (decode from JSON) (array), Binary (no conversion) (binary) |
string | Try to decode data |