n8n integration with ZeptoMail
n8n is an open-source workflow platform that allows you to connect applications and create a workflow. The workflows can be created effortlessly by simply dragging and dropping the applications in the workspace. n8n also offers templates for common workflows for better efficiency and productivity.
The connecting applications are called nodes and there are two types of nodes:
Trigger node: The application that initiates the workflow. Ex. entry in a form, email in an inbox or an event creation.
Action node: The application that executes an operation as a result of the trigger. Ex. notification for an entry.
Applications using n8n for their workflows can add ZeptoMail as an action node to send transactional emails for a particular trigger. The supported actions are:
- Email-sending
- Email-sending using ZeptoMail's templates
Installing ZeptoMail
Follow the steps below to install the ZeptoMail package:
- Login to your n8n account.
- Navigate to the project you want to add ZeptoMail and click the Nodes panel on the right.
- Search for Zoho ZeptoMail in the list.
- Click Install node. The package will be successfully installed.
- You can find the installed node in the Community nodes section under Settings.
Configuring ZeptoMail
Once you install ZeptoMail, you should connect ZeptoMail with n8n to create workflows. This requires OAuth authentication. Follow the steps given below to configure ZeptoMail:
- Login to your n8n account.
- Click the down-arrow next to the Create workflow button and click Create credentials.
- In the Add credentials dialogue box, search for Zoho ZeptoMail OAuth2 API. Click Continue.
- The connection dialog box containing authorization URL, authorization token, space to provide the client id and secret will pop-up.
- You should fill out the client id and client secret generated from Zoho developer console to connect ZeptoMail and n8n. Follow the steps given here to generate them.
- Click save. The connection is established. You can now create workflows to send emails.
Generate client id and client secret
- Navigate to the Zoho developer console.
- Click Get started if you do not have any new client. If you have an existing client, click Add client.
- Select Server-based applications in the client type window.
- Provide an appropriate client name, the application url from where the connection has to be made, and the redirect URL copied from the Add credentials dialog box.
- Click Create to generate the client id and client secret.
- Copy the generated values and paste them in the Add credentials dialog box.
Create workflows
- You can create a new workflow using the plus icon on the top left corner or using the Create workflow button on the top-right corner.
- Select the appropriate trigger for which you wish to send emails.
- Click the Action in App option and lookup ZeptoMail from the list.
- Choose the type of action you wish to perform - send email, send template email.
- Choose the desired Mail Agent you wish to use, the FROM and TO addresses and enter the appropriate message you wish to use. Click Execute step to save the configuration.
- Once the workflow is created, you can save and execute it to check if everything is in place.
Note:
Before you get started it is important to know that ZeptoMail is for sending transactional emails like welcome emailers, password resets emails, OTPs. We do not support sending of bulk emails or promotional emails like newsletters or marketing campaign emails. If you are looking for a bulk email provider, check out Zoho Campaigns.