Actions29
Overview
This node allows you to update an existing strategy in the BookedIn platform by providing a complete JSON configuration of the strategy. Strategies typically define workflows or sequences of actions (stages) that can be applied to leads or campaigns within the BookedIn system.
Use cases include:
- Modifying the name, description, or stages of a marketing or sales strategy.
- Adjusting strategy parameters dynamically based on new business requirements.
- Automating updates to strategies as part of larger workflow automations.
For example, you might update a strategy to add new stages for lead nurturing or change its description to reflect a new campaign focus.
Properties
| Name | Meaning |
|---|---|
| Strategy ID | The unique identifier of the strategy you want to update. |
| Strategy Configuration | The full strategy configuration as a JSON object, including fields like name, description, and stages. This must be valid JSON representing the entire strategy setup. |
Output
The node outputs the JSON response returned from the BookedIn API after updating the strategy. This typically includes the updated strategy object with all its properties as stored on the server.
The output is structured as an array of JSON objects, each corresponding to an input item processed. Each object contains the updated strategy details.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the BookedIn API.
- The node makes HTTP requests to
https://api.bookedin.ai/api/v1/strategies/{strategyId}using the PUT method. - Proper network connectivity to the BookedIn API endpoint is necessary.
Troubleshooting
- Invalid JSON format in strategy configuration: If the provided JSON for the strategy configuration is malformed, the node will throw an error. Ensure the JSON is correctly formatted before running the node.
- Strategy ID missing or incorrect: The update operation requires a valid strategy ID. Providing an invalid or empty ID will cause the API request to fail.
- API authentication errors: If the API key credential is missing, invalid, or expired, the node will fail to authenticate. Verify your API credentials are correctly configured.
- Network issues: Connectivity problems to the BookedIn API endpoint will result in request failures. Check your internet connection and any firewall settings.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output JSON.
Links and References
- BookedIn API Documentation (for detailed API usage and strategy schema)
- n8n HTTP Request Node Documentation (for understanding HTTP request handling in n8n)