Network¶
HTTP Request¶
Sends one HTTP request per item. Output: statusCode, headers, body.
Inputs: main · Outputs: main
| Parameter | Type | Description |
|---|---|---|
Methodmethod |
text | Supports expressions. |
URL (required)url |
text | Supports expressions. |
Query parametersquery |
key/value pairs | Added to the URL as ?name=value; values are URL-encoded. |
Headersheaders |
key/value pairs | Request headers, e.g. Accept or Content-Type. |
Bodybody |
JSON | JSON, or text if the value is a string. Supports expressions. |
Content typecontentType |
text | Supports expressions. |
Response formatresponseFormat |
one of: auto, json, text |
Default: auto. |
Fail on HTTP error statusfailOnHttpError |
true/false | Default: true. |
CredentialcredentialId |
credential (Basic Auth, Bearer Token, API Key Header) | Authenticates the request: Basic, Bearer token or an API key header. |
Respond to Webhook¶
Answers the webhook call that started the execution (Webhook Trigger with 'Using respond node'). The items pass through, so the workflow can continue after responding.
Inputs: main · Outputs: main
| Parameter | Type | Description |
|---|---|---|
Respond withrespondWith |
one of: firstItem, allItems, customBody, noBody |
Default: firstItem. |
Bodybody |
JSON | Custom body: JSON or an expression, evaluated against the first item. Supports expressions. |
Status codestatusCode |
integer | Default: 200. |
Headersheaders |
key/value pairs | Response headers; a Content-Type other than JSON sends a text body as is (e.g. text/html). |
Send Email¶
Sends one email per item over SMTP, optionally with the item's attachments.
Inputs: main · Outputs: main
| Parameter | Type | Description |
|---|---|---|
SMTP credential (required)credentialId |
credential (SMTP) | The SMTP server and login used to send the mail. |
Fromfrom |
text | Empty: the credential's default sender. Supports expressions. |
To (required)to |
text | Supports expressions. |
Cccc |
text | Supports expressions. |
Bccbcc |
text | Supports expressions. |
Subject (required)subject |
text | Supports expressions. |
Texttext |
text | Supports expressions. |
HTMLhtml |
text | Sent next to the text, or alone. Supports expressions. |
Attachmentsattachments |
list of text | Names of the item's attachments to send; * for all. |