CoachTrigger Live icon

CoachTrigger Live

Interact with coach trigger action liveelopment server API

Overview

This node interacts with the CoachTrigger API to manage and update message translations among other user, activity, and messaging operations. Specifically, for the Update Message Translation operation under the Message resource, it allows users to update the translation of a specific message by providing the message ID and the new translated text.

Common scenarios where this node is beneficial include:

  • Updating or correcting translations of messages in a multilingual coaching platform.
  • Synchronizing updated message content across different language versions.
  • Automating message translation updates as part of a larger workflow involving AI coaching or CRM data management.

Practical example:

  • A company uses CoachTrigger to send coaching messages to users in multiple languages. When a translation is improved or corrected, this node can be used to update the stored translation for a given message ID automatically.

Properties

Name Meaning
Authentication Choose between "Company Api" or "System Api" authentication methods.
Message ID The unique identifier of the message whose translation you want to update.
Message Translation The new translation text to update for the specified message.
Message (Optional) The original message text to update alongside the translation.

Output

The node outputs a JSON object representing the response from the CoachTrigger API after attempting to update the message translation. This typically includes confirmation of the update or details about the updated message.

The output structure is:

{
  "json": {
    // API response fields confirming update status or containing updated message data
  }
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the CoachTrigger API.
  • Requires either a "Company Api" or "System Api" authentication credential configured in n8n.
  • The node sends HTTP POST requests to the endpoint https://www.coachtriggerapp.com/crmApi/message/update with appropriate headers and body parameters.

Troubleshooting

  • Authentication errors: Ensure that the correct API key or system key is provided and valid. Invalid or missing keys will cause authorization failures.
  • Missing required parameters: The messageId and messageTranslation are mandatory. Omitting these will result in errors.
  • API request failures: Network issues or incorrect endpoint URLs may cause request failures. Verify connectivity and endpoint correctness.
  • Invalid message ID: If the message ID does not exist or is incorrect, the API may return an error indicating the message was not found.
  • Unexpected API responses: If the API returns unexpected data or errors, check the API documentation or contact support for the CoachTrigger service.

Links and References

Discussion