Gladly icon

Gladly

Interact with Gladly API

Overview

This node allows you to create a new task associated with a specific customer in the Gladly system. It is useful for automating task management workflows where tasks need to be programmatically created and linked to customers, such as follow-ups, reminders, or support tickets.

A practical example would be automatically creating a task for a customer after a support interaction or when certain conditions are met in your CRM or helpdesk system.

Properties

Name Meaning
Customer Id The unique identifier of the customer for whom the task will be created. You can find this ID using the "Find customers" API endpoint.

Output

The node outputs JSON data representing the newly created task. This typically includes details such as the task ID, status, timestamps, and any other metadata returned by the Gladly API upon successful creation.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Gladly API.
  • The node uses the Gladly REST API endpoint (base URL: https://petstore3.swagger.io/api/v3 as per the bundled code, which may be a placeholder).
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Missing or invalid Customer Id: Ensure that the Customer Id provided exists and is correctly formatted. Use the "Find customers" API to verify.
  • Authentication errors: Verify that the API key or authentication token is correctly set up and has sufficient permissions.
  • API endpoint issues: The base URL in the bundled code points to a Swagger Petstore example; ensure it is replaced with the actual Gladly API endpoint in production.
  • Network or connectivity problems: Check network access to the Gladly API service.

Common error messages might include unauthorized access, resource not found (invalid customer), or validation errors on the input data.

Links and References

  • Gladly API documentation (for task creation and customer lookup)
  • n8n documentation on creating custom nodes and managing credentials

Discussion