The Topic created trigger in workflows allows firing on personal messages, which I use to monitor newly sent PMs as an administrator. However, the event data does not seem to include who is the PM being sent to, because $json.topic.participants is empty. Would it be possible to make this data available through workflows?
AI-generated summary
KockaAdmiralac proposes a feature enhancement for Discourse workflows, specifically regarding the Topic created trigger when applied to personal messages (PMs). The user needs to monitor newly sent PMs as an administrator but faces an issue where the standard trigger data fails to include the recipient information. They note that $json.topic.participants returns an empty array in this context, making it difficult to automate tasks based on who received the message. The request asks if it is possible to expose this participant data within the workflow’s event payload.
In response, mcwumbly seeks clarification on the current workflow setup. They inquire if the user is already employing a workaround to bypass this limitation. mcwumbly suggests that fetching additional data, such as participant lists, might currently be achievable by integrating a Data Explorer query within the workflow process to retrieve the missing details.
Are you currently working around the lack of this feature somehow?
For example, you could probably fetch any extra data you need using a data explorer query.