Skip to main content

Notification Tasks

Send messages via email, Slack, Microsoft Teams, and Google Chat.

notifications.email​

Display Name: Send Email

Send an email to one or more recipients.

Parameters​

NameTypeRequiredDescription
recipientsarrayYesEmail addresses to send to. Supports dynamic selection from onboarded users.
ccarrayNoCarbon-copy recipients, visible to all addressees.
bccarrayNoBlind carbon-copy recipients, hidden from other addressees.
subjectstringYesEmail subject line.
body_formatstringNoHow the body is rendered: text, markdown or html. Use markdown when sending AI output so headings and lists render.
bodystringYesEmail body content.
reply_tostringNoReply-to email address.

Output​

NameTypeDescription
successbooleanWhether the email was sent successfully.
sent_toarrayList of recipients the email was delivered to.

notifications.im​

Display Name: Send IM

Send a message to a Slack channel, MS Teams channel, or Google Chat space — through the app, or through a webhook integration. As a step it fails when the message isn't delivered, naming the reason; as a hook it only logs that.

Parameters​

NameTypeRequiredDescription
providerstringYesIM platform. Options: slack, ms_teams, google_chat, or a webhook integration: slack_webhook, ms_teams_webhook, google_chat_webhook.
team_idstringNoTeam ID (required for MS Teams; not used with webhooks).
channelstringYesChannel ID or name to post in. For a webhook provider, the webhook integration.
messagestringYesMessage body (supports markdown for Slack).
message_thread_idstringNoThread ID to reply within a thread instead of posting a new message.

Output​

NameTypeDescription
channelstringChannel where the message was posted.
message_idstringID of the sent message (use as message_thread_id for follow-ups).
teamstringTeam ID.
platformstringPlatform used.
statusstringsent, or suppressed when a notification rule dropped the message.
reasonstringWhy it wasn't delivered — the rule that suppressed it, or a reason code such as no_destination or channel_not_found.
rule_management_urlstringLink to the Notification Rules page for the suppressing rule (only when suppressed).

notifications.dm​

Display Name: DM

Send a direct message to a specific user.

Parameters​

NameTypeRequiredDescription
providerstringYesIM platform. Options: slack.
user_idstringYesUser ID to send the message to.
messagestringYesMessage body.

Output​

NameTypeDescription
user_idstringTarget user ID.
channel_idstringDM channel ID.
message_idstringMessage ID.
providerstringPlatform used.

notifications.read_thread​

Display Name: Read Thread Messages

Fetch replies and reactions from a Slack thread. Useful for checking if someone responded to a notification.

Parameters​

NameTypeRequiredDescription
providerstringYesOnly slack is currently supported.
channel_idstringYesChannel ID where the thread exists.
thread_tsstringYesThread timestamp (parent message ts).
team_idstringNoWorkspace ID (optional if tenant has a single workspace).

Output​

NameTypeDescription
successbooleanWhether the request succeeded.
messagesarrayMessages in the thread (includes reactions).
reply_countnumberNumber of replies.
has_responsesbooleanTrue if there are replies or reactions.
has_reactionsbooleanTrue if the parent message has reactions.
has_morebooleanWhether there are more messages to fetch.

notifications.add_reaction​

Display Name: Add Reaction

Add an emoji reaction to a message on Slack or Google Chat.

Parameters​

NameTypeRequiredDescription
providerstringYesPlatform. Options: slack, google_chat.
team_idstringNoSlack workspace (team) ID, when the tenant has more than one workspace.
channel_idstringYesChannel or space ID.
message_idstringYesMessage timestamp (Slack) or message ID (Google Chat).
emojistringYesEmoji to add. Slack: name without colons (e.g., thumbsup). Google Chat: unicode (e.g., 👍).

Output​

NameTypeDescription
successbooleanWhether the reaction was added.

slack.join_channel​

Display Name: Slack Join Channel

Add the bot to a public Slack channel so it can post messages there.

Parameters​

NameTypeRequiredDescription
channel_idstringYesThe ID of the public Slack channel to join.
textstringNoOptional message to send upon joining.

Output​

NameTypeDescription
responseobjectRaw response from the Slack API.

google_chat.join_space​

Display Name: Google Chat Join Space

Add the bot to a Google Chat space so it can post messages there. The Google Chat counterpart to slack.join_channel.

Parameters​

NameTypeRequiredDescription
channel_idstringYesSpace for the bot to join. Pick one from the list, or supply a space ID (e.g., spaces/AAAA) or a template.
textstringNoOptional message to send upon joining.

Output​

NameTypeDescription
responseobjectRaw response from the Google Chat API.

notifications.create_channel​

Display Name: Create Channel

Find or create a Slack channel or Google Chat space. Reuses an existing one with the same name rather than creating a duplicate — check created in the output to tell which happened.

Parameters​

NameTypeRequiredDescription
providerstringYesNotification provider: slack or google_chat.
team_idstringNoSlack workspace (team) ID, when the tenant has more than one workspace.
namestringYesChannel or space name to find or create.
is_privatebooleanNoCreate a private channel.
descriptionstringNoChannel description.

Output​

NameTypeDescription
channelstringChannel or space ID.
namestringChannel or space name.
urlstringChannel or space URL.
providerstringNotification provider.
createdbooleantrue if a new channel was created, false if an existing one was reused.
teamstringTeam ID, when the platform returns one.

notifications.add_channel_members​

Display Name: Add Channel Members

Add users to a Slack channel or Google Chat space. Typically paired with notifications.create_channel to stand up an incident war room.

Parameters​

NameTypeRequiredDescription
providerstringYesNotification provider: slack or google_chat.
channel_idstringYesChannel or space ID to add users to.
user_idsarrayYesUser IDs to add, in the provider's own format: Slack member IDs (e.g., U12345678) or people IDs for Google Chat.
team_idstringNoJSON only (not shown in the editor). For slack, picks a specific workspace when the tenant has more than one.

Output​

NameTypeDescription
providerstringNotification provider.
channelstringChannel or space ID.
addedarrayUser IDs successfully added.
already_membersarrayUser IDs that were already members.
failedarrayUsers that could not be added, each with a user_id and error.
teamstringTeam ID, when the platform returns one.