How to Differentiate Normal Forum Messages from Threads in Discord?

This topic was automatically generated from Slack. You can find the original thread here.

Hello everyone, i’m trying to get thread replies from discord but i can’t seem to differentiate normal forum messages from threads, the export values don’t have defining properties

attached are screenshot of my flow with the export or the new_thread trigger

looking forward to getting help with this, thank you.

Hey , from what I understand, you’re trying to have 2 flows in your workflow:

  1. when the event is from thread trigger, get thread reply and do remaining actions
  2. when the event is new message, just do remaining actions
    Am I understand correctly?

yes , you are correct.

  1. when it is from new message => forward as normal,
  2. when it is from thread, then forward at thread reply as a comment on telegram channel

what i have done with the data store is to store the initial message’s id and compare the thread reply to know where to place the reply on telegram

The issue i am having is that there is no property in the thread reply trigger that indicates the message is actually coming from a thread
I wonder if there is an actual way to do this without much hassle

update: i have been able to differentiate new messages from threads by checking if the id is already in the data store, but now i want to forward the thread message to telegram as a comment under the original message in the public channel

Hey , is it easier to just create 2 separate workflows to handle event from each of your workflow separately?

i want to forward the thread message to telegram as a comment under the original message in the public channel
Could you try to use the Original Message ID prop?

Hello i am currently using this and it is working well but the messages are forwarded as replies to the original message, what i want to do is have the thread messages as comments on the original message in the public channel

Hey > comments on the original message in the public channel
I’m not sure about this “comments” feature, could you share the official document on this feature?

what i mean by comment is this, attached below image, the replies should be added here, not as just a reply to the messages

on a different issue, i am having issues with X(twitter) authentication on pipedream, haven’t had much help from support about this, wondering if you could help with this, thanks

Hi , we disabled X(twitter) because X has disabled our integration. As of now, we don’t have any update on it yet.

oh! that explains the issues i have been having