ContentStudio

Integrate with ContentStudio API

Actions5

Overview

This node integrates with the ContentStudio API to manage social media posts within specified workspaces. Specifically, the Delete Post operation allows users to remove a post from a given workspace by providing the workspace ID and the post ID. This is useful for automating content management workflows where outdated or incorrect posts need to be programmatically deleted.

Practical examples:

  • Automatically deleting scheduled posts that no longer fit a campaign.
  • Removing posts flagged for compliance reasons.
  • Cleaning up test or draft posts after publishing final versions.

Properties

Name Meaning
Workspace ID The identifier of the workspace containing the post.
Post ID The unique identifier of the post to delete.

Output

The output is a JSON object representing the response from the ContentStudio API after attempting to delete the post. Typically, this will include confirmation of deletion or relevant status information returned by the API.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating with the ContentStudio API.
  • The node uses the ContentStudio API base URL and expects network access to it.
  • The "Workspace ID" property options are dynamically loaded via an internal method fetching available workspaces.
  • Proper configuration of the API key credential in n8n is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Workspace ID or Post ID will result in errors from the API.
    • Network connectivity problems can cause timeouts or failed requests.
    • Insufficient permissions associated with the API key may prevent deletion.
  • Error messages:

    • "Post not found" — Verify that the Post ID exists in the specified workspace.
    • "Unauthorized" or "Invalid API key" — Check that the API key credential is correctly configured and valid.
    • Timeout errors — Ensure stable internet connection and that the ContentStudio API service is reachable.

Links and References

Discussion