Issue
The thread.replied
webhook failed to trigger despite message tracking enabled. This issue can occur due to insufficient scopes and misconceptions about the interaction between message tracking and webhook triggers.
Note: thread.replied is ONLY triggered when participants REPLY to a message, not when the connected account replies to messages in the thread.
Cause
- Missing
Mail.send
orMail.Read
(Microsoft),gmail.send
orgmail.readonly
(Google) scope for the grant. See Email Scopes. - Missing subscription to the
thread.replied
webhook at the application level.
Solution
To ensure that the thread.replied
webhook is triggered correctly, follow these steps:
- Verify Scopes: Ensure the grant includes the
Mail.send
&Mail.Read
orgmail.send
&gmail.readonly
scopes. This scopes are necessary for message tracking and the subsequent triggering of webhooks. - Subscribe to Webhook: Subscribe to the
thread.replied
, to receive notifications when an event occurs.
Resources
Updated
Comments
0 comments
Please sign in to leave a comment.