Actions79
- Lead Status Actions
- Pipeline Actions
- Template Actions
- Lead Actions
- Contact Actions
- Activity Actions
- Meeting Search Actions
- Opportunity Actions
- Opportunity Status Actions
- Integration Link Actions
- Smart View Actions
- Comment Actions
- Email Template Actions
- Task Actions
- User Actions
- Custom Field Actions
Overview
This node integrates with a CRM system to perform various operations on different resources, including email templates. Specifically, the "Delete" operation for the "Email Template" resource allows users to remove an existing email template by specifying its unique identifier. This is useful in scenarios where outdated or unused email templates need to be cleaned up to maintain an organized and efficient email management system.
Practical examples include:
- Automatically deleting deprecated email templates as part of a workflow cleanup.
- Removing test or temporary templates after campaign completion.
- Managing templates dynamically based on business rules or user input.
Properties
| Name | Meaning |
|---|---|
| Template ID | The unique identifier of the email template to delete. This is required to specify which template should be removed. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide details about the deleted template. If an error occurs, the output JSON will contain an error field describing the issue.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the CRM service.
- The node depends on the CRM's REST API endpoint that manages email templates.
- Proper configuration of the API authentication within n8n is necessary for successful requests.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Template ID will likely cause an error.
- Missing or incorrect API credentials will prevent the node from connecting to the CRM.
- Network connectivity problems can cause request failures.
Error messages:
"The resource "emailTemplate" is not known!": This indicates an internal misconfiguration or unsupported resource selection.- Errors returned from the CRM API (e.g., "Template not found") will appear in the output's
errorfield if "Continue On Fail" is enabled.
Resolutions:
- Verify the Template ID exists and is correctly entered.
- Ensure the API key credential is valid and has sufficient permissions.
- Check network connectivity and CRM service status.
Links and References
- Refer to your CRM provider’s API documentation for email template management endpoints.
- n8n documentation on creating custom nodes and handling API credentials.