Skip to main content
Best answer

How do I set up a Zap to reply in a thread when sending a message in a public channel?

  • February 16, 2024
  • 8 replies
  • 1236 views

Trying to setup a zap where if I send out a message in public channel it should reply in the thread, but have not been successful. Below is my zap. 


 

 

Best answer by Troy Tessalone

@eng 
Couples issues…
If you want the automation to do the following: when a Slack Message posted to a public Channel to reply in the Slack Channel Message Thread

Check the Thread field description for guidance.

Map the TS variable. (not the Thread TS variable)



###

For more learning…

 

The Filter conditions, as currently configured, won’t continue.

The Formatter step will return a value of: true/false (see yellow section)

You need to change the mapped variable for “Channel Name” to be a static value of true/false depending on the logic you want to configure.

 

Also, the formats of the mapped values are not the same.

TS is a UNIX timestamp format.

Thread TS Time is a ISO datetime format. (Try changing to Thread TS)

 

Related Zapier Community topics to reference for guidance:
https://community.zapier.com/search?q=slack%20thread%20reply&content_type%5B0%5D=discussion&content_type%5B1%5D=question&source%5B0%5D=community

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

8 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • February 16, 2024

Hi @eng 

How is your Zap step 4 configured?


  • Author
  • Beginner
  • February 16, 2024

Hi @eng 

How is your Zap step 4 configured?

Here is the screenshot. I have selected Thread Ts. Instead of replying to every message it is replying to the old message, so it is not global for some reason. 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • February 16, 2024

@eng 

Can you provide more clarity about the issue you are encountering?

Can you post screenshots with how your Filter step 3 is configured?


  • Author
  • Beginner
  • February 16, 2024

@eng

Can you provide more clarity about the issue you are encountering?

Can you post screenshots with how your Filter step 3 is configured?

 

so anytime when i send a message in the channel, bot replies as a new text vs replying to the thread of the initial message. 
 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • February 16, 2024

@eng 
Couples issues…
If you want the automation to do the following: when a Slack Message posted to a public Channel to reply in the Slack Channel Message Thread

Check the Thread field description for guidance.

Map the TS variable. (not the Thread TS variable)



###

For more learning…

 

The Filter conditions, as currently configured, won’t continue.

The Formatter step will return a value of: true/false (see yellow section)

You need to change the mapped variable for “Channel Name” to be a static value of true/false depending on the logic you want to configure.

 

Also, the formats of the mapped values are not the same.

TS is a UNIX timestamp format.

Thread TS Time is a ISO datetime format. (Try changing to Thread TS)

 

Related Zapier Community topics to reference for guidance:
https://community.zapier.com/search?q=slack%20thread%20reply&content_type%5B0%5D=discussion&content_type%5B1%5D=question&source%5B0%5D=community


  • Author
  • Beginner
  • February 16, 2024

@eng 
Couples issues…
If you want the automation to do the following: when a Slack Message posted to a public Channel to reply in the Slack Channel Message Thread

Check the Thread field description for guidance.

Map the TS variable. (not the Thread TS variable)



###

For more learning…

 

The Filter conditions, as currently configured, won’t continue.

The Formatter step will return a value of: true/false (see yellow section)

You need to change the mapped variable for “Channel Name” to be a static value of true/false depending on the logic you want to configure.

 

Also, the formats of the mapped values are not the same.

TS is a UNIX timestamp format.

Thread TS Time is a ISO datetime format. (Try changing to Thread TS)

 

Related Zapier Community topics to reference for guidance:
https://community.zapier.com/search?q=slack%20thread%20reply&content_type%5B0%5D=discussion&content_type%5B1%5D=question&source%5B0%5D=community

can this work if I just remove the IF filter and use the Formatter after the trigger message like this?
 

 


  • Author
  • Beginner
  • February 16, 2024

@Troy Tessalone it did work. Thanks a lot for your help :) 


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • February 19, 2024

That’s awesome @eng! A huge thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗