~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
ImapServerStringYesIMAP server address (e.g., imap.gmail.com)
ImapPortInt32No993IMAP server port (typically 993 for SSL/TLS)
EnableSslBooleanNoTrueWhether to use SSL/TLS encryption
UsernameStringYesEmail account username/address
PasswordStringYesEmail 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)
FilterBySenderStringNoFilter emails by sender address (optional)
FilterBySubjectStringNoFilter emails by subject text (optional)
MarkAsReadBooleanNoFalseMark retrieved emails as read

Send SMTP EmailSend SMTP Email

Sends an email message using SMTP protocol.

ParameterTypeRequiredDefaultDescription
FromStringNoThe sender's email address (uses Username if blank)
SenderNameStringNoDisplay name of the sender
ToStringYesRecipient email address(es). Separate multiple with ; or ,
CCStringNoCarbon copy recipient(s)
BCCStringNoBlind carbon copy recipient(s)
SubjectStringNoThe subject of the email
BodyStringNoThe body content of the email
IsHtmlBooleanNoFalseWhether the body contains HTML content
AttachmentsStringNoFile paths of attachments, separated by ; or ,
SmtpServerStringYesSMTP server hostname (e.g., smtp.gmail.com)
SmtpPortInt32No587SMTP server port (typically 587 for TLS, 465 for SSL)
EnableSslBooleanNoTrueWhether to use SSL/TLS encryption
UsernameStringNoSMTP authentication username
PasswordStringNoSMTP authentication password
ReplyToStringNoReply-to email address
MailMessageStringNoExisting mail message to forward
StatusCodeStringNoVariable to store the result status code

Web/API (2)

Download FileDownload File

Download a file from a URL to your local computer.

ParameterTypeRequiredDefaultDescription
UrlStringYesThe URL of the file to download (e.g., https://example.com/file.pdf)
OutputPathStringYesFolder 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
HeadersStringNoCustom HTTP headers (one per line, format: HeaderName: Value)
AuthTypeStringNoNoneAuthentication type (None, Basic, Bearer)
UsernameStringNoUsername for Basic authentication
PasswordStringNoPassword for Basic authentication
BearerTokenStringNoBearer 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
UrlStringYesThe URL to send the request to (e.g., https://api.example.com/users)
MethodStringYesGETHTTP method to use (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
BodyStringNoRequest body (JSON, XML, or form data) - used for POST/PUT/PATCH
ContentTypeStringNoapplication/jsonContent type of request body
HeadersStringNoCustom HTTP headers (one per line, format: HeaderName: Value)
AuthTypeStringNoNoneAuthentication type (None, Basic, Bearer)
UsernameStringNoUsername for Basic authentication
PasswordStringNoPassword for Basic authentication
BearerTokenStringNoBearer token for OAuth/JWT authentication
ResponseBodyStringNoVariable to store the response body
StatusCodeInt32NoVariable to store the HTTP status code (e.g., 200, 404)
ResponseHeadersStringNoVariable to store response headers
Was this helpful?