Overview
This node retrieves social media account IDs from the user's Blotato 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 marketing automation.
For example, you might use this node to gather all your social media IDs (Instagram, YouTube, TikTok, etc.) into one object to pass downstream for further processing or reporting.
Properties
| Name | Meaning |
|---|---|
| Filter Empty Accounts | Whether to exclude accounts with empty or undefined IDs. If enabled, only accounts with IDs are included. |
| Output Format | Format of the output data. Options: - Standard Object: Outputs as { platform_id: "value" } - Nested Object: Outputs as { socialAccounts: { platform_id: "value" } } |
Output
The node outputs an array of JSON objects, each corresponding to an input item. Each JSON object contains social media account IDs keyed by their platform-specific ID names, such as:
instagram_idyoutube_idtiktok_idfacebook_idfacebook_page_idthreads_idtwitter_idlinkedin_idpinterest_idpinterest_board_idbluesky_id
Depending on the selected output format:
- Standard Object: The JSON directly contains these key-value pairs.
- Nested Object: The JSON contains a single property
socialAccountswhich holds the key-value pairs.
If "Filter Empty Accounts" is enabled, any accounts without an ID (empty string or undefined) are omitted from the output.
The node also supports error handling per item; if an error occurs and the workflow is set to continue on failure, the output for that item will contain an error field with the error message.
Dependencies
- Requires valid Blotato API credentials configured in n8n.
- No additional external dependencies beyond the Blotato API authentication.
Troubleshooting
- Missing or invalid credentials: The node requires Blotato API credentials. Ensure they are correctly set up and authorized.
- Empty output: If "Filter Empty Accounts" is enabled and no social account IDs exist in the credentials, the output may be empty.
- API errors: If the Blotato API is unreachable or returns errors, the node will throw exceptions unless "Continue On Fail" is enabled.
- Incorrect output format: Verify the "Output Format" property matches your expected downstream data structure.
Links and References
- Blotato Official Website (for API documentation and credential setup)
- n8n Documentation on Credentials and Error Handling