TeleFlow icon

TeleFlow

Interact with TeleFlow API

Overview

This node interacts with the TeleFlow API to manage various resources, including Email Templates. Specifically, for the Email Template - Delete operation, it deletes an existing email template identified by its unique ID. This is useful in scenarios where outdated or unwanted email templates need to be removed from the system to maintain organization and prevent accidental use.

Practical examples:

  • Automatically deleting email templates that are no longer relevant after a campaign ends.
  • Cleaning up test or temporary email templates created during development or testing phases.

Properties

Name Meaning
ID The unique identifier of the email template to delete. This is required to specify which template to remove.
Fields Optional field-value pairs to include in the request for more specific queries (not typically used in delete but available as part of the general interface).

Output

The output JSON contains the response from the TeleFlow API after attempting to delete the specified email template. Typically, this will confirm whether the deletion was successful or provide details if it failed.

Example output structure:

{
  "success": true,
  "message": "Email template deleted successfully"
}

or, in case of failure:

{
  "error": "Description of the error"
}

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the TeleFlow API via an API key credential configured in n8n.
  • The node uses HTTP requests to communicate with the TeleFlow API endpoint defined by the base URL in the credentials.
  • Proper permissions on the API key to perform delete operations on email templates are necessary.

Troubleshooting

  • Missing ID Error: If the "ID" property is not provided, the node throws an error stating that the ID is required. Ensure you supply the correct unique identifier of the email template to delete.
  • API Authentication Errors: If the API key or credentials are invalid or missing, the node will fail to authenticate. Verify your API credentials configuration.
  • Permission Denied: If the API user does not have permission to delete email templates, the API will return an error. Check user roles and permissions in TeleFlow.
  • Network Issues: Connectivity problems can cause request failures. Confirm network access to the TeleFlow API endpoint.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion