Actions57
- Agents Actions
- Public Answer Actions
- Answer Management Actions
- Communications Actions
- Customers Actions
- Conversations Actions
- Get Conversations
- Get Conversation
- Patch Conversation
- Create Item
- Get Item
- Delete Item
- Get Media
- Get Voice Transcript
- Create Customer Item
- Delete Customer Item
- Get Conversation Items
- Add Topic To Conversation
- Delete Topic From Conversation
- Add Note To Conversation
- Get Note From Conversation
- Reply To Message
- Redact Content
- Export Actions
- Freeform Topics Actions
- Message Automation Actions
- Proactive Conversations Actions
- Tasks Actions
- User Identity Actions
- Topics Actions
- Webhooks Actions
- Payloads Actions
Overview
This node interacts with the Gladly API to create a new customer item within a conversation context. Specifically, the "Create Customer Item" operation allows users to associate an item with a particular customer by specifying the customer's ID. This is useful in scenarios where you want to programmatically add items or records linked to customers during conversations, such as logging purchases, support tickets, or other customer-related data.
Practical examples include:
- Adding a purchased product record to a customer's profile after a sales conversation.
- Logging a service request item linked to a customer during a support chat.
- Creating custom entries related to customer interactions for later analysis.
Properties
| Name | Meaning |
|---|---|
| Customer Id | The unique identifier of the customer associated with the item. You can find this ID using the "Find customers" API endpoint. |
Output
The node outputs JSON data representing the newly created customer item as returned by the Gladly API. This typically includes details about the item and its association with the specified customer. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the Gladly API.
- The base URL for API requests is set to
https://petstore3.swagger.io/api/v3(likely a placeholder). - The node depends on the
@devlikeapro/n8n-openapi-nodepackage for building properties and handling OpenAPI-based requests. - Proper configuration of the Gladly API credentials in n8n is necessary for successful execution.
Troubleshooting
- Missing or invalid Customer Id: Since the Customer Id is required, ensure it is provided and valid. Errors may occur if the ID does not correspond to an existing customer.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
- API endpoint issues: The base URL appears to be a placeholder; confirm that the correct Gladly API endpoint is used in production.
- Network or connectivity problems: Ensure that n8n can reach the Gladly API servers without firewall or proxy restrictions.
Common error messages might include authentication failures, resource not found (invalid customer ID), or validation errors due to missing required fields.
Links and References
- Gladly API documentation (replace with actual URL when available)
- n8n OpenAPI Node integration guide: https://docs.n8n.io/integrations/builtin/app-nodes/n8n-openapi-node/
- General n8n credential setup: https://docs.n8n.io/credentials/overview/