Skip to content
AskElephant Knowledge Base home

Channel Message Sent

Starts a workflow when a message is posted in one or more Slack channels you are monitoring, by default only when someone mentions AskElephant.

Channel Message Sent node in the workflow builder

What It Does

Watches the Slack channels you list and fires when a new message appears in them. By default the trigger only fires when a message mentions AskElephant; you can widen it to fire on any message in the channel.

When It Fires

Fires when a message lands in one of the monitored channels, either because AskElephant was mentioned in it or, if you enable that option, for any message posted there at all. Use this to kick off a workflow whenever someone asks AskElephant something in Slack, such as "summarize this thread" or "log this to the CRM."

Configuration

Configure the node with these settings:

Field

What it controls

Channel Names

The Slack channels to watch for new messages. Required.

Trigger On Any Message

When enabled, the trigger fires for every message in the selected channels, even if AskElephant is not mentioned. Defaults to off, meaning a mention is required.

Outputs

The node passes these values downstream. Check the Outputs tab on the configured node to confirm exact paths.

Variable

Type

Description

Example

message

string

The text content of the message

{{nodeId.message}}

sender

object

The sender of the message

{{nodeId.sender}}

sender.id

string

{{nodeId.sender.id}}

channelName

string

The name of the channel the message was sent in

{{nodeId.channelName}}

threadId

string

The thread ID of the message

{{nodeId.threadId}}

messageDate

string

The date of the message

{{nodeId.messageDate}}

messageTime

string

The time of the message

{{nodeId.messageTime}}

Example Workflow

Add this trigger watching the #support channel with a mention required. When someone types "@AskElephant summarize this thread," the workflow reads the message and posts a summary back using Send Message to Channel.

  • Read Messages from Channel

  • Send Message to Channel

  • Send Slack Message

Need More Help?

Reach the AskElephant support team by:

  • clicking the Support tab on the right side of your screen,

  • emailing [email protected],

  • or using @askelephant support in your dedicated Slack channel.