HTTP & Email Activities
Send HTTP requests to REST APIs, download files from URLs, send email via SMTP, and read mailboxes via IMAP. Store all credentials in the Orchestrator Secrets Vault and reference them with {{secret:name}}.
Email (2)
Get IMAP EmailsGet IMAP Emails
Retrieves emails from an IMAP server.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
OutputVariable | String | Yes | emails | Variable name to store the list of retrieved emails |
ImapServer | String | Yes | — | IMAP server address (e.g., imap.gmail.com) |
ImapPort | Int32 | No | 993 | IMAP server port (typically 993 for SSL/TLS) |
EnableSsl | Boolean | No | True | Whether to use SSL/TLS encryption |
Username | String | Yes | — | Email account username/address |
Password | String | Yes | — | Email account password (use App Password for Gmail) |
MailFolder | String | No | INBOX | Mail folder to retrieve from (e.g., INBOX, Sent, Drafts) |
OnlyUnreadMessages | Boolean | No | False | Retrieve only unread messages |
TopEmailsCount | Int32 | No | 30 | Maximum number of emails to retrieve (1-1000) |
FilterBySender | String | No | — | Filter emails by sender address (optional) |
FilterBySubject | String | No | — | Filter emails by subject text (optional) |
MarkAsRead | Boolean | No | False | Mark retrieved emails as read |
Send SMTP EmailSend SMTP Email
Sends an email message using SMTP protocol.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
From | String | No | — | The sender's email address (uses Username if blank) |
SenderName | String | No | — | Display name of the sender |
To | String | Yes | — | Recipient email address(es). Separate multiple with ; or , |
CC | String | No | — | Carbon copy recipient(s) |
BCC | String | No | — | Blind carbon copy recipient(s) |
Subject | String | No | — | The subject of the email |
Body | String | No | — | The body content of the email |
IsHtml | Boolean | No | False | Whether the body contains HTML content |
Attachments | String | No | — | File paths of attachments, separated by ; or , |
SmtpServer | String | Yes | — | SMTP server hostname (e.g., smtp.gmail.com) |
SmtpPort | Int32 | No | 587 | SMTP server port (typically 587 for TLS, 465 for SSL) |
EnableSsl | Boolean | No | True | Whether to use SSL/TLS encryption |
Username | String | No | — | SMTP authentication username |
Password | String | No | — | SMTP authentication password |
ReplyTo | String | No | — | Reply-to email address |
MailMessage | String | No | — | Existing mail message to forward |
StatusCode | String | No | — | Variable to store the result status code |
Web/API (2)
Download FileDownload File
Download a file from a URL to your local computer.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Url | String | Yes | — | The URL of the file to download (e.g., https://example.com/file.pdf) |
OutputPath | String | Yes | — | Folder path to save the file (e.g., C:\Downloads). If no filename is specified, the original filename from the URL will be used. |
Overwrite | Boolean | No | True | Overwrite file if it already exists |
Headers | String | No | — | Custom HTTP headers (one per line, format: HeaderName: Value) |
AuthType | String | No | None | Authentication type (None, Basic, Bearer) |
Username | String | No | — | Username for Basic authentication |
Password | String | No | — | Password for Basic authentication |
BearerToken | String | No | — | Bearer token for OAuth authentication |
DownloadedFileName | String | No | downloadedFilePath | Variable to store the full path of the downloaded file |
FileSize | Int64 | No | downloadedFileSize | Variable to store the downloaded file size in bytes |
StatusCode | Int32 | No | downloadedStatusCode | Variable to store the HTTP status code |
HTTP RequestHTTP Request
Make HTTP requests to web services and REST APIs with custom headers and authentication.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Url | String | Yes | — | The URL to send the request to (e.g., https://api.example.com/users) |
Method | String | Yes | GET | HTTP method to use (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) |
Body | String | No | — | Request body (JSON, XML, or form data) - used for POST/PUT/PATCH |
ContentType | String | No | application/json | Content type of request body |
Headers | String | No | — | Custom HTTP headers (one per line, format: HeaderName: Value) |
AuthType | String | No | None | Authentication type (None, Basic, Bearer) |
Username | String | No | — | Username for Basic authentication |
Password | String | No | — | Password for Basic authentication |
BearerToken | String | No | — | Bearer token for OAuth/JWT authentication |
ResponseBody | String | No | — | Variable to store the response body |
StatusCode | Int32 | No | — | Variable to store the HTTP status code (e.g., 200, 404) |
ResponseHeaders | String | No | — | Variable to store response headers |