Actions12
Overview
The node integrates with the SEO Content Machine API to manage and manipulate SEO-related tasks. Specifically, for the Task - Update operation, it allows users to update the data of an existing SEO task by sending new JSON-formatted task data to the API.
This node is beneficial in scenarios where automated workflows need to modify SEO tasks dynamically, such as updating content parameters, keywords, or other task-specific settings without manual intervention. For example, a user might update a task's configuration based on analytics results or external triggers to optimize SEO campaigns continuously.
Properties
| Name | Meaning |
|---|---|
| Task | The identifier of the SEO task to update. Can be selected from a list or specified by ID. |
| Task Data | JSON string containing the updated data for the task. This JSON defines the new task parameters. |
Output
- The output
jsonfield contains the response from the SEO Content Machine API after attempting to update the task. - The structure depends on the API's response but generally includes confirmation of the update or details about the updated task.
- No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the SEO Content Machine service.
- The node uses HTTP requests authenticated via this API key to communicate with the SEO Content Machine API endpoint.
- Proper configuration of the API credential within n8n is necessary for successful execution.
Troubleshooting
Common Issues:
- Invalid or missing task ID: Ensure the task ID provided matches the expected format (alphanumeric, dashes, underscores, minimum length 2).
- Malformed JSON in "Task Data": The JSON must be valid; otherwise, parsing will fail.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network or API downtime: Check connectivity and API status if requests fail unexpectedly.
Error Messages:
- Regex validation error for task ID: "Not a valid task ID" — fix by providing a correct task ID.
- JSON parse errors when reading "Task Data" — ensure the input is valid JSON.
- HTTP errors from the API (e.g., 401 Unauthorized, 404 Not Found) — check credentials and task existence.
Links and References
- SEO Content Machine Official Website
- Refer to the SEO Content Machine API documentation for detailed information on task data structure and update endpoints.