Actions42
- Ads Actions
- Campaigns Actions
- Creatives Actions
- Audiences Actions
- Pixels Actions
- Webhooks Actions
- Reports Actions
Overview
The node "N8N Tools Snapchat" enables interaction with the Snapchat Ads API, providing a variety of operations across multiple resources such as ads, campaigns, creatives, audiences, pixels, webhooks, and reports. Specifically for the Webhooks resource, the node supports operations including retrieving, creating, updating, deleting, and testing webhooks.
The Test Webhook operation allows users to verify that a specific Snapchat webhook is functioning correctly by sending a test request to it. This is useful for ensuring that webhook integrations are properly set up and receiving events as expected.
Practical example:
A marketing automation workflow could use this node to periodically test if a Snapchat webhook configured to receive campaign event notifications is active and responding, helping maintain reliable data flow into downstream systems.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account associated with the webhook. |
| Webhook ID | The unique identifier of the Snapchat Webhook to be tested (required for testWebhook). |
Output
- The output is an array of JSON objects, each corresponding to one input item processed.
- For the Test Webhook operation, the output JSON contains the response from the Snapchat API indicating the result of the webhook test.
- If the operation fails and "Continue On Fail" is enabled, the output will contain an error message in the JSON field.
- The node does not output binary data.
Dependencies
- Requires valid credentials for:
- An API key credential for the external "N8N Tools API" service used for subscription and API key validation.
- OAuth2 credentials for authenticating with the Snapchat Ads API.
- The node makes HTTP requests to:
https://adsapi.snapchat.com(Snapchat Ads API endpoint)- The N8N Tools API endpoint for validating API key and subscription status.
- Proper configuration of these credentials within n8n is necessary for successful execution.
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 validation service is correct and active.Missing or incorrect Webhook ID:
The Test Webhook operation requires a valid Webhook ID. Ensure the Webhook ID parameter is provided and corresponds to an existing webhook in the specified Ad Account.HTTP errors from Snapchat API:
Errors returned from the Snapchat API may indicate issues such as insufficient permissions, invalid Ad Account ID, or network problems. Check credentials and parameter values.JSON parsing errors:
Some operations require JSON input parameters (not applicable for Test Webhook), so ensure JSON strings are well-formed.
Links and References
- Snapchat Marketing API Documentation
- n8n Documentation on Credentials
- Webhook Testing Best Practices (Snapchat developer docs)