Hey Zapier Community!
Is there a way for the “New Message Posted to Channel in Slack” to trigger only the main message and NOT for threaded replies in the selected channel? I’m trying to integrate the Slack-Airtable and need only the main message posted to slack to be sent to airtable and not the replies in the thread
I do not think you will be able to stop it from triggering but you can filter it out. You should get back two fields in your trigger Ts Time and Thread Ts Time. If you set up a filter to only trigger when those two fields are equal, that will stop thread replies but allow main messages through
I believe that is because that trigger no longer returns the Thread Ts Time when it is a brand new post.
The filter should now look like the below. In your configuration test, this will always be false as the sample data will have a thread ts (even on new messages) but in a live environment it will not.
I would agree with
@nicksimard I have always just assumed it was timestamp. Though, I think the reason the field says ‘Thread Ts Time’ is because there are two fields that mean the same thing. Thread Ts returns the timestamp in Unix time (i.e 1627063543) and Thread Ts Time returns the timestamp but in a more human readable way ( I think in ISO format)
Thank you! That seemed to do the trick. Out of curiosity, what does “Ts” stand for in “Thread Ts Time”?
I could be wrong, but I always thought it was for “timestamp”. It sounds kind of redundant to say Thread timestamp time, though 😛
Just checking in to see if you still need help with this?
Hello! I’m trying to accomplish the same thing, but when I add this filter, it doesn’t send any messages - main or threaded.
Here’s what I have set up