Actions72
- Pages Actions
- Posts Actions
- Groups Actions
- Events Actions
- Insights Actions
- Marketing/Ads Actions
- Videos Actions
- Messaging Actions
- Shop/Catalog Actions
- Lead Ads Actions
- Webhooks Actions
Webhooks → Test Webhook
AI-generatedOverview
The node provides enhanced integration with the Facebook Graph API, enabling a wide range of operations across various Facebook resources such as Pages, Posts, Groups, Events, Insights, User data, Marketing/Ads, Videos, Messaging, Shop/Catalog, Lead Ads, and Webhooks. Specifically for the Webhooks resource, the node supports operations including retrieving app webhooks, creating app webhooks, subscribing pages to apps, testing webhooks, and verifying webhook tokens.
The Test Webhook operation sends a test webhook event to verify that the webhook setup is functioning correctly for a given Facebook App ID. This is useful when setting up or troubleshooting webhook integrations to ensure that Facebook can successfully send events to your configured callback URL.
Practical examples:
- After creating a webhook subscription for a Facebook app, use the Test Webhook operation to confirm that the webhook endpoint receives and processes test events properly.
- Use this operation during development or debugging to validate webhook configurations without waiting for real events.
Properties
| Name | Meaning |
|---|---|
| App ID | The Facebook App ID to test the webhook against. |
Output
The output is an array of JSON objects representing the response from the Facebook API after sending the test webhook. Each item corresponds to one input execution item.
- The
jsonfield contains the result of the test webhook request, which typically includes confirmation details or error messages returned by Facebook. - If the operation fails and "Continue On Fail" is enabled, the output will include error information in the
json.errorfield.
No binary data output is produced by this operation.
Dependencies
- Requires valid credentials for accessing the Facebook API via OAuth2 or API key authentication.
- Requires an active subscription and valid API key for the external N8N Tools API service used for validation before executing Facebook API calls.
- The node expects the Facebook App ID as input to identify the app for which the webhook test is performed.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the API key credential for the external N8N Tools API is correct and active.
- Facebook API errors: Errors returned from Facebook (e.g., invalid App ID, permission issues) will be surfaced in the node's output. Check that the App ID is correct and that the connected Facebook app has the necessary permissions.
- Webhook not received: If the test webhook does not trigger your endpoint, ensure that the callback URL is publicly accessible and correctly configured in the Facebook app settings.
- Continue On Fail: Enable this option to allow the workflow to continue processing other items even if some fail, capturing errors in the output for review.