Blotato Social Accounts icon

Blotato Social Accounts

Get social media account IDs from your Blotato credentials

Overview

This node extracts social media account IDs from the user's Blotato API credentials and outputs them in a structured format. It is useful for workflows that need to access or manipulate multiple social media account identifiers linked to a single user, such as aggregating social profiles, syncing data across platforms, or preparing inputs for other nodes that require these IDs.

For example, you might use this node to:

  • Retrieve all your connected social media account IDs to pass them downstream for posting content.
  • Filter out empty or undefined accounts to ensure only valid IDs are processed.
  • Format the output either as a flat object or nested under a specific key for easier integration with other nodes.

Properties

Name Meaning
Filter Empty Accounts Whether to exclude accounts with empty or undefined IDs (true/false).
Output Format Format of the output data:
- Standard Object: Outputs as { platform_id: "value" }
- Nested Object: Outputs as { socialAccounts: { platform_id: "value" } }

Output

The node outputs an array with one item per input item. Each output item contains a json field structured according to the selected output format:

  • If Standard Object is selected, the json will be a flat object where keys are social media platform ID names (e.g., instagram_id, youtube_id) and values are their corresponding IDs.

    Example:

    {
      "instagram_id": "user123",
      "youtube_id": "channel456",
      "tiktok_id": "tiktok789"
    }
    
  • If Nested Object is selected, the json will contain a single key socialAccounts whose value is the object described above.

    Example:

    {
      "socialAccounts": {
        "instagram_id": "user123",
        "youtube_id": "channel456",
        "tiktok_id": "tiktok789"
      }
    }
    

If the "Filter Empty Accounts" option is enabled, any accounts with empty or undefined IDs are excluded from the output.

The node also supports error handling: if an error occurs during execution and the workflow is set to continue on failure, the output will include an error field describing the issue.

Dependencies

  • Requires a valid Blotato API credential configured in n8n to access social media account IDs.
  • No additional external dependencies beyond the Blotato API credential.

Troubleshooting

  • Missing or invalid API credentials: The node requires a valid Blotato API key or token. Ensure the credential is correctly set up in n8n.
  • Empty output: If all social account IDs are empty or undefined and "Filter Empty Accounts" is enabled, the output may be an empty object. Disable filtering to see all fields.
  • Error messages: Errors during credential retrieval or API access will be thrown unless "Continue On Fail" is enabled, in which case the error message will appear in the output's error field.
  • Incorrect output format: Verify the "Output Format" property matches your expected downstream data structure.

Links and References

Discussion