I managed to set up two workflows:
- Discourse → Front App. When a new message is received on Discourse, it posts that message into Front.
- Front → Discourse. When I reply to that imported Discourse message on Front, a webhook by Pipedream that listens for new replies on Front, then using the Discourse API to post the reply on Discourse. This works great, however, when I go on Front, it shows my response (as it triggers workflow 1 i.e. when a new message is received on Discourse) I now have two messages in the inbox thread, the one I sent via Front and the same one but imported from workflow 1.
Does anyone have an idea how to “exclude” these messages sent from Front that is pulled in from that first workflow? Is this possible with the Discourse API?
Thanks in advance!