Terminal
Terminal/Skill
Walks you through setting up webhook subscriptions for a Meta app, from choosing topics and fields to sending a test payload.
By Meta
Works with
npx skills add facebook/agentic-tools --skill webhook-setupInteractive wizard to configure webhooks on a Meta app from scratch.
Start tracking. Before any other work, call devtools_skill_invocation with action start and skill_name webhook-setup. Pass skill_name webhook-setup on every devtools_* tool call in the following steps.
Identify the app. Ask the user for the app name or ID. If they give a name (or aren't sure of the ID), call devtools_app_list (action list) and resolve it to an app_id — match the name case-insensitively. If several apps match or it's ambiguous, show the candidates (name, ID, viewer role) and ask the user to pick. If they give a numeric ID, use it directly.
Check existing state. Run in parallel:
devtools_webhook_list with action list_topics — show all available webhook topicsdevtools_webhook_list with action list_subscriptions — show what's already subscribedPresent the options. Show the user:
page, user, instagram, whatsapp_business_account)Collect subscription details. Ask the user for:
feed, messages)Subscribe. Call devtools_webhook_manage with action subscribe:
topic, fields, callback_url, verify_tokenVerify with a test payload. After successful subscription:
devtools_webhook_test with action test_send for one of the subscribed fieldsSummary. Show the final state:
End tracking. After completing all preceding steps, call devtools_skill_invocation with action end and skill_name webhook-setup.
devtools_webhook_manage with action update_fields instead of unsubscribe + resubscribe.