Apify and Crawlee Official Forum

Updated 3 months ago

Retrieving origin from webhook

Hi, I am trying to understand if the actor run was triggered via api or through the scheduler.

After the run finishes, we have a webhook to send us a notification.

I retrieve the origin from the webhook, and it keeps returning "WEBHOOK" vs what the original run was (api or scheduler). How can I retrieve the real origin from the webhook?
D
S
2 comments
Figured it out! pulled resource.meta.origin for this information.
Great πŸš€

Let us know if you need any other help. πŸ™‚
Add a reply
Sign up and join the conversation on Discord