Webhook integration per Run

Hi there, Wanted to ask if it's possible to set a Webhook intigration (from the API) per each Actor run? Thanks, Arseni
4 Replies
adverse-sapphire
adverse-sapphire3y ago
yes, it's possible; this is a recorded example sending a whatsapp on each run: https://youtu.be/5bEhimAtP74
lu4t Tech
YouTube
HOW TO: integrate Apify actor with whatsapp, FREE.
Learn how to integrate Apify Actor's events and receive notifications on whatsapp, directly to you or to a whatsapp group. The API used on this video can be found here (free Tier): https://rapidapi.com/inutil-inutil-default/api/whin2/ 00:00 Add new Actor from Apify Marketplace 00:25 Set up webhook integration 01:41 Run the task and check your...
stormy-gold
stormy-goldOP3y ago
Hi @Alexey Udovydchenko ! Thank you for the comment I was trying to do that but I'm getting this error: 'WARN Actor.addWebhook() is only supported when running on the Apify platform. The webhook will not be invoked' How can I make it work?
ratty-blush
ratty-blush3y ago
The code Alex shared is only from the actor on Apify. If you want to add it from your system, just follow the API reference https://docs.apify.com/api#/reference/webhooks/webhook-collection/create-webhook
Apify
Apify API Reference
Documentation of Apify API which enables to integrate and programmatically manage all aspects of the Apify platform.

Did you find this page helpful?