~4 min8 / 14

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.

ParameterTypeRequiredDefaultDescription
OutputVariableStringYesemailsVariable name to store the list of retrieved emails
ImapServerStringYes—IMAP server address (e.g., imap.gmail.com)
ImapPortInt32No993IMAP server port (typically 993 for SSL/TLS)
EnableSslBooleanNoTrueWhether to use SSL/TLS encryption
UsernameStringYes—Email account username/address
PasswordStringYes—Email account password (use App Password for Gmail)
MailFolderStringNoINBOXMail folder to retrieve from (e.g., INBOX, Sent, Drafts)
OnlyUnreadMessagesBooleanNoFalseRetrieve only unread messages
TopEmailsCountInt32No30Maximum number of emails to retrieve (1-1000)
FilterBySenderStringNo—Filter emails by sender address (optional)
FilterBySubjectStringNo—Filter emails by subject text (optional)
MarkAsReadBooleanNoFalseMark retrieved emails as read

Send SMTP EmailSend SMTP Email

Sends an email message using SMTP protocol.

ParameterTypeRequiredDefaultDescription
FromStringNo—The sender's email address (uses Username if blank)
SenderNameStringNo—Display name of the sender
ToStringYes—Recipient email address(es). Separate multiple with ; or ,
CCStringNo—Carbon copy recipient(s)
BCCStringNo—Blind carbon copy recipient(s)
SubjectStringNo—The subject of the email
BodyStringNo—The body content of the email
IsHtmlBooleanNoFalseWhether the body contains HTML content
AttachmentsStringNo—File paths of attachments, separated by ; or ,
SmtpServerStringYes—SMTP server hostname (e.g., smtp.gmail.com)
SmtpPortInt32No587SMTP server port (typically 587 for TLS, 465 for SSL)
EnableSslBooleanNoTrueWhether to use SSL/TLS encryption
UsernameStringNo—SMTP authentication username
PasswordStringNo—SMTP authentication password
ReplyToStringNo—Reply-to email address
MailMessageStringNo—Existing mail message to forward
StatusCodeStringNo—Variable to store the result status code

Web/API (2)

Download FileDownload File

Download a file from a URL to your local computer.

ParameterTypeRequiredDefaultDescription
UrlStringYes—The URL of the file to download (e.g., https://example.com/file.pdf)
OutputPathStringYes—Folder path to save the file (e.g., C:\Downloads). If no filename is specified, the original filename from the URL will be used.
OverwriteBooleanNoTrueOverwrite file if it already exists
HeadersStringNo—Custom HTTP headers (one per line, format: HeaderName: Value)
AuthTypeStringNoNoneAuthentication type (None, Basic, Bearer)
UsernameStringNo—Username for Basic authentication
PasswordStringNo—Password for Basic authentication
BearerTokenStringNo—Bearer token for OAuth authentication
DownloadedFileNameStringNodownloadedFilePathVariable to store the full path of the downloaded file
FileSizeInt64NodownloadedFileSizeVariable to store the downloaded file size in bytes
StatusCodeInt32NodownloadedStatusCodeVariable to store the HTTP status code

HTTP RequestHTTP Request

Make HTTP requests to web services and REST APIs with custom headers and authentication.

ParameterTypeRequiredDefaultDescription
UrlStringYes—The URL to send the request to (e.g., https://api.example.com/users)
MethodStringYesGETHTTP method to use (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
BodyStringNo—Request body (JSON, XML, or form data) - used for POST/PUT/PATCH
ContentTypeStringNoapplication/jsonContent type of request body
HeadersStringNo—Custom HTTP headers (one per line, format: HeaderName: Value)
AuthTypeStringNoNoneAuthentication type (None, Basic, Bearer)
UsernameStringNo—Username for Basic authentication
PasswordStringNo—Password for Basic authentication
BearerTokenStringNo—Bearer token for OAuth/JWT authentication
ResponseBodyStringNo—Variable to store the response body
StatusCodeInt32No—Variable to store the HTTP status code (e.g., 200, 404)
ResponseHeadersStringNo—Variable to store response headers
Was this helpful?