Actions18
- Content Plan Actions
- Document Actions
- Tool Actions
Overview
The Edit Content in Plan operation for the Content Plan resource allows you to update specific content items within an existing content plan on Nichesss.com. This is useful when you need to modify the text or details of a particular piece of content that is already part of your content planning workflow.
Common scenarios:
- Updating marketing copy or messaging in a scheduled content plan.
- Correcting errors or making improvements to previously planned content.
- Collaboratively editing content drafts before publication.
Practical example:
Suppose you have a content plan for your social media posts and want to change the text of a scheduled post. You can use this node operation to update "Line 1" and "Line 2" of the specified content item within the plan.
Properties
| Name | Type | Meaning |
|---|---|---|
| Content Plan ID | String | The unique identifier of the content plan containing the content to edit. |
| Content ID | String | The unique identifier of the specific content item to be edited. |
| Line 1 | String | The new main text (first line) for the content item. |
| Line 2 | String | (Optional) The new secondary text (second line) for the content item. |
Output
The output will typically include a json field containing the updated content item's data as returned by the Nichesss API. The structure may include fields such as:
{
"id": "content_id",
"contentPlanId": "content_plan_id",
"line1": "Updated main text",
"line2": "Updated secondary text",
// ...other metadata fields as provided by the API
}
Note: If the API returns binary data, it would represent the updated content in a non-JSON format, but this is unlikely for this operation.
Dependencies
- External Service: Requires access to the Nichesss.com API.
- Credentials: May require a configured
nichesssApicredential in n8n, depending on your API setup. - Environment: No special environment variables are required unless specified by your API credentials.
Troubleshooting
Common issues:
- Invalid Content Plan ID or Content ID: Ensure both IDs are correct and exist in your Nichesss account.
- Missing Required Fields: All required properties must be filled; otherwise, the node may throw validation errors.
- Authentication Errors: If credentials are missing or incorrect, you may receive authentication or authorization errors from the API.
Error messages and resolutions:
"Content Plan not found": Double-check the Content Plan ID."Content ID not found": Verify the Content ID exists within the specified plan."Unauthorized": Make sure your API credentials are correctly set up in n8n.