When I create a Flask endpoint that is meant to recieve webhooks from Composio using triggers (e.g, when a user gets a new email), I want to be able to get the user-id from the webhook payload (or the trigger id).
Is that possible?
b
Brendan O'Leary
12/03/2025, 5:52 AM
Yes, you can retrieve the user ID and trigger ID from Composio webhook payloads in your Flask endpoint.
When you receive a webhook, the payload includes a
data
object that contains the
user_id
p
PhilipV
12/03/2025, 2:30 PM
Thank you!
PhilipV
12/03/2025, 2:31 PM
Out of curiousity, does the data object also include trigger-id?