Overview
The "Planfix Chat" node allows users to interact with the Planfix Chat API by performing various chat-related actions. It is useful for automating communication workflows within the Planfix platform, such as sending messages, retrieving task or contact information, updating contacts, and checking message statuses. Practical examples include automatically sending notifications to a chat when a task is updated, fetching contact details for customer support automation, or monitoring message delivery status.
Properties
| Name | Meaning |
|---|---|
| Action | The operation to perform. Options: Send Message, Get Task, Get Contact, Update Contact, Message Status. |
| Payload | A JSON object containing the data required for the selected action. This varies depending on the action chosen. |
Output
The node outputs an array of items where each item contains a json field. This json field holds the response from the Planfix Chat API corresponding to the executed action. The structure of this JSON depends on the specific API endpoint called (e.g., message send confirmation, task details, contact info, etc.). There is no binary data output.
Dependencies
- Requires an API key credential for authenticating with the Planfix Chat API.
- The node makes HTTP POST requests to the Planfix Chat API endpoints using the provided account name and API key.
- No additional external dependencies beyond standard HTTP request capabilities.
Troubleshooting
- Authentication errors: If the API key or account name is incorrect or missing, the node will fail to authenticate. Verify that the API credentials are correctly configured.
- Invalid payload: Sending malformed or incomplete JSON in the Payload property may cause API errors. Ensure the payload matches the expected schema for the selected action.
- Unsupported actions: Selecting an action not supported by the Planfix Chat API or misspelling the action name can result in request failures.
- Network issues: Connectivity problems to the Planfix API endpoint will cause request timeouts or errors. Check network access and endpoint availability.
Links and References
- Planfix Chat API Documentation (example link; replace with actual if available)
- n8n HTTP Request Node documentation for understanding request options and error handling.