Portal Community

Authentication

PropertyRequiredDescription
CredentialId Required Guid referencing a Google OAuth2 credential stored in BizFirst Credentials Manager. This credential must have Gmail API access granted via Google's OAuth2 consent flow. Used by all operations and the Gmail Trigger.
Resource: message (10 operations)

message/send

PropertyRequiredDescription
SendToRequiredRecipient email address(es). Single address or comma-separated list.
SubjectRequiredEmail subject line.
MessageRequiredEmail body content. Interpreted as HTML or plain text based on EmailType.
EmailTypeOptionalBody content type. "html" (default) or "plain".
SenderNameOptionalDisplay name shown in the From field.
ReplyToOptionalReply-To email address override.
CcListOptionalCC recipient email addresses.
BccListOptionalBCC recipient email addresses.
AttachmentBinaryFieldsOptionalList of binary field references from upstream nodes to attach to the email.
AppendAttributionOptionalBoolean. When true, appends a BizFirstAI attribution footer to the message body.

message/reply

PropertyRequiredDescription
MessageIdRequiredGmail message ID of the message to reply to. The reply is added to the same thread.
MessageRequiredReply body content.
EmailTypeOptional"html" or "plain".
SenderNameOptionalDisplay name for the From field.
CcListOptionalCC recipients for the reply.
BccListOptionalBCC recipients for the reply.
AttachmentBinaryFieldsOptionalBinary field references for attachments.
ReplyToSenderOnlyOptionalBoolean. When true, the reply is sent only to the original sender, not to all recipients of the original message.

message/get

PropertyRequiredDescription
MessageIdRequiredGmail message ID to retrieve.
SimplifiedOptionalBoolean, default true. When true, returns a condensed output object. When false, returns the full raw Gmail API payload.
DownloadAttachmentsOptionalBoolean. When true, fetches attachment data and maps it to output binary fields.
AttachmentPrefixOptionalString prefix for attachment binary field names. Default: "attachment_".

message/getMany

PropertyRequiredDescription
ReturnAllOptionalBoolean. When true, paginates through all results. When false, respects Limit.
LimitOptionalMaximum number of messages to return. Default: 50. Ignored when ReturnAll is true.
SimplifiedOptionalBoolean. Condensed output when true.
DownloadAttachmentsOptionalBoolean. Downloads attachments for each message.
AttachmentPrefixOptionalBinary field prefix. Default: "attachment_".
LabelIdsOptionalList of Gmail label IDs to filter by. System labels: INBOX, UNREAD, SENT, TRASH, SPAM.
IncludeSpamTrashOptionalBoolean. Include messages from Spam and Trash in results. Default: false.
FilterQOptionalGmail search query string using the same syntax as the Gmail search bar. Examples: is:unread from:invoices@supplier.com, subject:invoice has:attachment newer_than:7d.
ReadStatusOptionalFilter by read state. Values: "read", "unread", or leave null for no filter.
ReceivedAfterOptionalDate filter — only include messages received after this date.
ReceivedBeforeOptionalDate filter — only include messages received before this date.
SenderOptionalFilter messages by sender email address.

message/delete

PropertyRequiredDescription
MessageIdRequiredGmail message ID to permanently delete. This operation bypasses Trash and is irreversible.

message/trash

PropertyRequiredDescription
MessageIdRequiredGmail message ID to move to Trash. Message can be restored with message/untrash.

message/untrash

PropertyRequiredDescription
MessageIdRequiredGmail message ID to restore from Trash.

message/markAsRead

PropertyRequiredDescription
MessageIdRequiredGmail message ID. Removes the UNREAD label from this message.

message/markAsUnread

PropertyRequiredDescription
MessageIdRequiredGmail message ID. Re-applies the UNREAD label to this message.

message/addLabel

PropertyRequiredDescription
MessageIdRequiredGmail message ID to label.
LabelIdsRequiredList of label IDs to apply. Use system labels (STARRED, IMPORTANT) or custom label IDs obtained from label/getMany.
Resource: draft (4 operations)

draft/create

PropertyRequiredDescription
MessageRequiredDraft body content.
ThreadIdOptionalExisting Gmail thread ID. Associates the draft as a reply within that thread.
FromAliasOptionalAlternate from address if the account has send-as aliases configured.
SubjectOptionalDraft subject line. Omit when creating a thread reply (subject is inherited).
EmailTypeOptional"html" or "plain".
ReplyToOptionalReply-To address override.
CcListOptionalCC recipients.
BccListOptionalBCC recipients.
AttachmentBinaryFieldsOptionalBinary field references to attach to the draft.

draft/get

PropertyRequiredDescription
DraftIdRequiredGmail draft ID to retrieve.
DownloadAttachmentsOptionalBoolean. Download and expose draft attachments as binary fields.
AttachmentPrefixOptionalBinary field name prefix for attachments.

draft/getMany

PropertyRequiredDescription
ReturnAllOptionalBoolean. Return all drafts (paginated) when true.
LimitOptionalMaximum number of drafts. Default: 50.
DownloadAttachmentsOptionalBoolean. Download attachments for each draft.
AttachmentPrefixOptionalBinary field name prefix.
IncludeSpamTrashOptionalBoolean. Include drafts in Spam and Trash folders.

draft/delete

PropertyRequiredDescription
DraftIdRequiredGmail draft ID to permanently delete.
Resource: label (4 operations)

label/create

PropertyRequiredDescription
NameRequiredDisplay name for the new label. Must be unique within the account.
LabelListVisibilityOptionalWhether the label appears in the Gmail label list. "labelShow" (default) or "labelHide".
MessageListVisibilityOptionalWhether messages with this label are shown in the message list. "show" (default) or "hide".

label/get

PropertyRequiredDescription
LabelIdRequiredGmail label ID to retrieve. Returns name, visibility settings, and message/thread counts.

label/getMany

PropertyRequiredDescription
LimitOptionalMaximum number of labels to return. Omit to return all labels (system and custom).

label/delete

PropertyRequiredDescription
LabelIdRequiredGmail label ID to permanently delete. Deleting a label does not delete messages that carry it.
Resource: thread (8 operations)

thread/get

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID to retrieve.
SimplifiedOptionalBoolean, default true. When true, returns a condensed thread object.
ReturnOnlyMessagesOptionalBoolean. When true, returns only the messages array from the thread, not thread-level metadata.

thread/getMany

PropertyRequiredDescription
ReturnAllOptionalBoolean. Paginate through all matching threads when true.
LimitOptionalMaximum threads to return. Default: 50.
SimplifiedOptionalBoolean. Condensed output per thread.
LabelIdsOptionalFilter threads by label IDs.
IncludeSpamTrashOptionalBoolean. Include threads from Spam and Trash.
FilterQOptionalGmail query string. Same syntax as message/getMany.
ReadStatusOptional"read", "unread", or null for all.
ReceivedAfterOptionalDate lower bound for thread retrieval.
ReceivedBeforeOptionalDate upper bound for thread retrieval.
SenderOptionalFilter threads by sender email address.

thread/delete

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID. Permanently deletes the entire thread and all its messages. Irreversible.

thread/trash

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID to move to Trash.

thread/untrash

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID to restore from Trash.

thread/addLabel

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID.
LabelIdsRequiredList of label IDs to apply to all messages in the thread.

thread/removeLabel

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID.
LabelIdsRequiredList of label IDs to remove from all messages in the thread.

thread/reply

PropertyRequiredDescription
ThreadIdRequiredGmail thread ID to reply within.
MessageRequiredReply body content.
MessageIdOptionalSpecific message within the thread to reply to. When omitted, the reply targets the latest message in the thread.
EmailTypeOptional"html" or "plain".
SenderNameOptionalDisplay name for the From field.
CcListOptionalCC recipients for the reply.
BccListOptionalBCC recipients.
AttachmentBinaryFieldsOptionalBinary field references for attachments.
ReplyToSenderOnlyOptionalBoolean. Reply only to the original sender, not all recipients.

Gmail Trigger — GmailTriggerExecutorSettingsInfo

The Gmail Trigger polls the mailbox on a schedule and fires one workflow execution per matching new email. It shares the OAuth2 CredentialId mechanism with the Gmail node.

PropertyRequiredDescription
CredentialIdRequiredGuid of the Google OAuth2 credential to use for polling.
SimplifiedOptionalBoolean. When true, output uses a condensed message object. Default varies by trigger config.
MaxEmailsPerPollOptionalMaximum emails to process in a single poll cycle. Default: 10. Limits burst executions when the inbox contains many new messages.
IncludeSpamTrashOptionalBoolean. Include emails from Spam and Trash in the poll scope.
IncludeDraftsOptionalBoolean. Include draft messages in the poll scope.
LabelIdsOptionalList of Gmail label IDs to restrict polling to. Leave empty to poll all mail.
FilterQOptionalGmail query string to filter which emails trigger the workflow. Uses the same syntax as the Gmail search bar.
ReadStatusOptionalFilter by read state. Default: "unread" — polls only unread emails. Set to null to include all read states.
SenderOptionalOnly trigger on emails from a specific sender address.
DownloadAttachmentsOptionalBoolean. Download and expose attachments as binary output fields when the trigger fires.
AttachmentPrefixOptionalBinary field name prefix for downloaded attachments.
MarkAsReadOptionalBoolean. Automatically marks each processed email as read after the trigger fires, preventing re-triggering on subsequent polls.
Destructive operations: message/delete and thread/delete permanently remove data without moving it to Trash. Prefer message/trash or thread/trash in most automation scenarios to allow recovery.
Finding label IDs: Use label/getMany to retrieve a list of all labels and their IDs for the authenticated account. System label IDs are fixed constants: INBOX, UNREAD, SENT, TRASH, SPAM, STARRED, IMPORTANT, DRAFT.