Follow

Action - Send Slack Message

This action allows you to send contextual Slack messages to a particular Slack channel, based on the contact that flows into it.

Screen_Shot_2017-07-10_at_12.51.34_PM.png

Some possible uses of this action are to notify your team when:

How to connect

Before you get started, you need to connect to Slack in Settings:

Screen_Shot_2017-07-10_at_12.46.50_PM.png

Click "Connect to Slack" and then follow the login steps on Slack's website:

Screen_Shot_2017-07-10_at_12.48.58_PM.png

How to create a message

Now go back to the Journeys app, and drop the action. Click "New Message":

Name the message and choose the channel you would like it to send to:

Next, populate the message.

You can use any contact variable in your message. This includes fallbacks in the usual format of --variable=fallback-- (for example, --Company=no company provided-- would output "no company provided" if the company field is empty for that contact).

If you don't feel like typing, you can use this button to insert contact variables:

To make it possible to access the contact to which the message refers directly from the message, you can add a "Contact Link" variable by typing: 

--Contact Link--

This will insert a link into the message that will open the contact record in Autopilot. Don't forget to invite your team members to Autopilot so they can open these links.

If you use the following formatting, you can customize the link text. For example, the following will insert "Click to view in Autopilot" as the hyperlink text: 

<--Contact Link--|Click to view in Autopilot>

Autopilot also fully supports:

  • styling (e.g. below I've bolded using * on either side of "Their message was");
  • emoji; and
  • image links. 

So let's put this all together. This:

...will output the following in Slack:

When you have finished composing your message, click Publish:

Screen_Shot_2017-07-10_at_12.53.53_PM.png

Then publish your Journey to make it live:

Screen_Shot_2017-07-10_at_12.59.46_PM.png

Please note that in order to avoid duplicates, if the same contact enters the action in less than a minute, we'll only show the message once. 

How to use mentions in your message

One way you can further take advantage of Slack messages to improve your internal workflow is to @mention people in your messages, or alert entire channels (with @channel) when something should be brought to their attention.

For example, let's say you wanted to alert a particular sales person, Peter, every time a new Enterprise lead comes in (measured by the number of employees). You could put a condition that checks if employee size is greater than 1000, and then sends a message that includes a mention of @peter:

How to manage your messages

Note that when you manage your Slack messages, you'll do it through the Notifications manager. This is because Slack messages are another type of notification.

You can tell whether the notification is a Slack message, or an email notification, by looking in the "Type" column:

Have more questions? Submit a request

Comments