What's my plan?
All Suites Growth, Professional, Enterprise, or Enterprise Plus
By connecting the action builder to external systems, such as Slack, admins can integrate Zendesk with external systems in automated workflows, improving collaboration and maintaining a seamless experience across multiple platforms.
Note: The steps associated with external systems in action flows are referred to collectively as external actions.
This article contains the following topics:
  • Connecting Slack to action builder
  • Using Slack actions in action flows

Connecting Slack to action builder

Before you can include external actions in your action flows, you must connect the action builder to the external system.

When connecting to external systems for use in action flows, the following best practices are recommended:
  • All external actions performed by an action flow are attributed to the user who connected the external system. Therefore, it is a best practice to use a dedicated service account rather than personal credentials when connecting to each external system.
  • All integrations request access to necessary scopes. However, it's important that you review and validate the scopes before authorizing the connection to the external system.
  • When managing credentials for API key-based tools, such as OpenAI, it's best to store keys in a secure vault or credential manager.
To connect action builder to Slack
  1. In Admin Center, click Apps and integrations in the sidebar, then select Actions > Action flows.
  2. Create or edit an action flow.
  3. Open the step sidebar.
  4. Under External actions, click Slack.
  5. Click Connect.
  6. Use Slack to authenticate the account.

    To complete authentication, you must invite the Zendesk connector app: /invite @Zendesk Connector.

    Note: All external actions performed by an action flow are attributed to the user who connected the external system. Therefore, it is a best practice to use a dedicated service account rather than personal credentials when connecting to each external system.

After you've connected to the system, you'll see an indicator that it's connected and details about the instance you're connected to, as well as the actions available for Slack.

Using Slack actions in action flows

Slack action steps can be used in action flows to streamline communication and make sure users know about other things being performed by action flows. For example, you can send messages to channels and individual users alerting them of new tickets or Jira issue assignments, post AI-generated summaries of tickets into a Slack thread, escalate direct messages to public channels for broader visibility, add reactions to automatically acknowledge messages, or extract message details for analysis and reply with AI-generated content.

The following Slack actions are available:
  • Post message to channel
  • Send direct message
  • Reply to message thread
  • Fetch thread messages
  • Add reaction
  • Fetch message
  • Find user

Posting a message to a channel

Use the Post message to channel action to send a message to a public or private channel.

This action has the following inputs and outputs:

  Variables
Inputs channel, message
Output channel, ts, ok

Sending a direct message

Use the Send direct message action to send a direct message to a specific user.

Note: Although Slack supports DMs with up to 9 other individuals, this step only supports sending a direct message to a single individual.
  Variables
Inputs email, message
Output Full message data

Replying to a message in a thread

Use the Reply to message thread action to post a reply to a message in a thread. This step can create a thread or reply within an existing thread.

This action has the following inputs and outputs:

  Variables
Inputs email, message
Output None

Fetching all messages in a thread

Use the Fetch thread messages action to retrieve all messages in a thread.

This action has the following inputs and outputs:

  Variables
Inputs channel, thread_ts, reply_ts
Output messages

Adding a reaction to a message

Use the Add reaction action to add an emoji reaction to a message.

This action has the following inputs and outputs:

  Variables
Inputs channel, name, timestamp
Output success

Fetching a message

Use the Fetch message action to retrieve the content and metadata of a message.

This action has the following inputs and outputs:

  Variables
Inputs channel, timestamp
Output text, user

Finding a user

use the Find user action to retrieve a Slack user so they can be referenced later in the action flow.

This action has the following inputs and outputs:

  Variables
Inputs user_id
Output display_name, email, real_name, user_id
Powered by Zendesk