N8N Tools Snapchat icon

N8N Tools Snapchat

Interact with Snapchat API

Overview

The node "N8N Tools Snapchat" enables interaction with the Snapchat Ads API, specifically allowing users to manage various Snapchat advertising resources such as ads, campaigns, creatives, audiences, pixels, webhooks, and reports.

For the Audiences resource with the Get Audiences operation, this node fetches a list of audiences associated with a specified Snapchat Ad Account ID. This is useful for marketers and advertisers who want to retrieve and analyze their audience segments directly within an automation workflow.

Practical examples:

  • Automatically retrieving all audience segments from Snapchat to sync with a CRM or marketing platform.
  • Periodically fetching updated audience lists to trigger targeted ad campaigns or reporting.
  • Integrating audience data into dashboards for performance monitoring.

Properties

Name Meaning
Ad Account ID Snapchat Ad Account ID (string). The unique identifier of the Snapchat ad account whose audiences you want to retrieve. This property is required.

Output

The output is a JSON object representing the list of audiences retrieved from the Snapchat API for the given Ad Account ID. Each item in the output corresponds to one audience entity with its details as provided by Snapchat.

The node does not output binary data for this operation.

Example structure of output JSON (simplified):

{
  "audiences": [
    {
      "id": "string",
      "name": "string",
      "type": "string",
      "status": "string",
      "created_at": "string",
      ...
    },
    ...
  ]
}

Dependencies

  • Requires valid credentials for the "N8N Tools API" which acts as a proxy or validation layer for Snapchat API requests.
  • Requires OAuth2 credentials for authenticating with the Snapchat Ads API.
  • The node internally validates the subscription and API key via a POST request to the N8N Tools API before making Snapchat API calls.
  • No additional environment variables are explicitly required beyond these credentials.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential used for the N8N Tools API is correct and active.
  • Permission errors: Ensure that the OAuth2 credentials have sufficient permissions to access the Snapchat Ad Account and its audiences.
  • Malformed JSON input: For operations requiring JSON input (not applicable for Get Audiences), ensure the JSON is well-formed.
  • Unknown operation error: This should not occur if the node parameters are set correctly; double-check that the operation is set to "Get Audiences" under the Audiences resource.
  • Network or API downtime: Temporary network issues or Snapchat API outages can cause failures; retry after some time.

Links and References

Discussion