I can't post to Slack from workflow

Hi
I can’t find ChatpostMessage type for Slack connector in Flow although it show on Slack configuration page. So I can’t send message from Agent to Slack from flow. However, when I tested, I could directly send message from connector to Slack such as “Send a message to #all-smartvet ‘Team meeting moved to 3 PM today’”. How I can correct. Thanks in advance for your support.

Hi @NannapatS and welcome to the community!

This is likely a difference in how the Slack connector exposes actions in a Flow action step versus in a direct chat conversation. So, when you message the agent directly (e.g. “send a message to #all-smartvet…”), the agent has full conversational access to all connector capabilities. But in a flow’s action step, I beleive only a subset of connector actions may be available in the dropdown, and ChatPostMessage might not be surfaced there yet.

I would recommend you try a couple of things:

Use the prompt field instead of selecting a specific action. In your Flow’s action step, after selecting the Slack connector, try describing what you want in the prompt instruction (e.g. “Send a message to #channel-name saying…”) rather than looking for a specific action type in the dropdown.

If that doesn’t end up working you could try using a Chat Agent step instead, if the action step doesn’t support chatpostmessage, add a Chat Agent step to your Flow and instruct it to send the Slack message. This effectively gives your Flow the same capability.

Hope this helps and feel free to keep us updated with new developments/questions you have regarding this issue!

@WLS-Cesar Thanks for your recommendation and fast response. I will try, then share you result.