Actions42
- Ads Actions
- Campaigns Actions
- Creatives Actions
- Audiences Actions
- Pixels Actions
- Webhooks Actions
- Reports Actions
Overview
The node "N8N Tools Snapchat" integrates with the Snapchat Ads API, enabling users to manage various Snapchat advertising resources directly within n8n workflows. Specifically, for the Audiences resource and the Create Audience operation, this node allows you to create new audience segments in a specified Snapchat Ad Account.
This is useful when you want to programmatically build or update your target audiences for Snapchat ad campaigns based on dynamic data or external triggers. For example, you could automate creating custom audiences from CRM data or website visitor lists without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Ad Account ID | The unique identifier of the Snapchat Ad Account where the audience will be created. |
| Audience Data | JSON object containing the details of the audience to create, such as name, description, targeting criteria, etc. |
Output
- The output
jsonfield contains the response from the Snapchat API after creating the audience. This typically includes the newly created audience's details such as its ID, name, status, and other metadata returned by Snapchat. - If an error occurs during creation, the output will contain an
errorfield with the error message. - The node does not output binary data.
Dependencies
- Requires valid credentials for:
- An API key credential for the "N8N Tools API" service, which validates subscription and access.
- OAuth2 credentials for authenticating with the Snapchat Ads API.
- The node uses the base URL
https://adsapi.snapchat.comfor Snapchat API requests. - Proper configuration of these credentials in n8n is necessary before using the node.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correct and active.
- Malformed Audience Data: Since the audience data is provided as JSON, ensure it is well-formed and matches Snapchat's expected schema. Invalid JSON or missing required fields can cause API errors.
- Permission Issues: Ensure the authenticated user has permissions to create audiences in the specified Ad Account.
- Unknown Operation Error: If the operation parameter is incorrect or unsupported, the node will throw an "Unknown operation" error.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output.