Slack action

Let the agent post a message to a Slack channel when something happens in a conversation, such as a new lead, an urgent issue or a feature request.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

The Slack action lets the agent post a message to a channel in your Slack workspace during a conversation. Use it to tell your team about something while the agent keeps talking to the customer: a hot lead, an outage report or a repeated complaint.

This is different from the Slack channel, where customers talk to the agent inside Slack. For that, see Slack integration.

Before you start

  • Permission to add apps in your Slack workspace.
  • The Slack integration connected in Workspace Settings > Integrations.
  • A channel that should receive the messages, such as #sales-leads.

Add the action

  1. Open the agent and select Actions.
  2. Select Add action and choose Slack.
  3. Select Connect if prompted, and approve the connection in your Slack workspace.
  4. Choose the Channel the message goes to.
  5. Write the Message template. Use braces for values from the conversation, for example: New lead: {name} ({email}) asked about {topic}.
  6. Write the description: "Use this when a visitor shares contact details and asks for a quote."
  7. Turn the action on and select Save.

You should see the action listed with the channel name.

Write useful messages

A good post tells the team what happened and what to do next.

Urgent: {customerName} reports a failed payment on order {orderNumber}.
Conversation: {conversationLink}

Include a link to the conversation so a colleague can read it. Keep one purpose per action. A separate action for sales leads and one for outage reports lets each go to a different channel.

Test it

  1. Open Test > Playground and trigger the situation in your description.
  2. Check the trace for the Slack action.
  3. Look in the chosen channel for the message.

Disconnect

Turn the action off, or choose Disconnect to stop posting. Remove the app itself in your Slack workspace if you no longer want it installed.

Troubleshooting

  • No message appears. Make sure the channel exists and the connection is still approved.
  • A private channel is missing from the list. Invite the Askocto app to that channel in Slack, then refresh.
  • Values show as braces. Check the spelling of each name against the values the agent collects.

For a back-and-forth with tickets, see Slack ticket threads.

Something unclear or missing? Tell us and we will fix the page.