Send Personalized HTML Welcome Emails to New Xero Contacts via SMTP
Last edited 58 days ago
Automated HTML Welcome Email for New Xero Contacts
Crafted with ❤️ by the automation experts at Elegant BizTech.
Summary
This workflow automatically sends a beautiful, personalized HTML welcome email to a new contact the moment they are created in your Xero account.
Description
First impressions matter. When you add a new client or customer to Xero, the opportunity to welcome them warmly and professionally is often missed. Manually sending welcome emails is time-consuming and inconsistent.
This workflow solves that problem by instantly triggering a customizable email that not only welcomes your new contact but also confirms the key details you have on file, building trust and starting the relationship on a high note.
What it does
- Triggers when a new contact is created in Xero.
- Filters to ensure it only runs for new contacts, not updates.
- Fetches the full contact details (Name, Address, Phone) from Xero for personalization.
- Builds a beautifully formatted HTML email using the contact's data.
- Sends the final, personalized email to the new contact via your preferred SMTP service.
Setup Guide
Follow these steps carefully to configure this workflow for your own use.
IMPORTANT: Handling Xero Webhook Signatures
Xero webhooks require a signature verification that the standard n8n Webhook node cannot perform directly. To solve this, this workflow is designed to be used with a simple proxy application.
You must first set up a small Express.js (or similar) application on your own server/VPS.
- This app receives the webhook from Xero and verifies the signature.
- Once verified, it forwards the clean JSON payload to the n8n Webhook URL.
The first node in this workflow,
Start: New Contact in Xero, contains the URL where your proxy app should send the data.
Step 1: Credentials
This workflow requires two sets of credentials.
-
(Node:
Fetch Full Contact Details from Xero) Xero Account:- Select the
Fetch Full Contact Details from Xeronode. - In the
Credential for Xero APIfield, select your existing credential or clickCreate Newto connect your Xero account to n8n.
- Select the
-
(Node:
Send Personalized Welcome Email) SMTP Account:- Select the
Send Personalized Welcome Emailnode. - In the
Credential for SMTPfield, select your existing credential or clickCreate Newto connect your email provider (e.g., Gmail, Outlook, SendGrid) to n8n.
- Select the
Step 2: Customize Your Email Template
This is where you make the email your own!
- Select the
Build Personalized HTML Email(Code) node. - Inside the code editor, you'll need to update the following placeholders:
- Line 35: Change
https://yourdomain.com/images/logo.pngto the direct URL of your company's logo. - Line 47: Change
https://yourdomain.com/to the link you want the main call-to-action button to go to (e.g., your website or a client portal). - Line 53: Change
[[email protected]](/cdn-cgi/l/email-protection)to your company's support email address. - Line 54: Change
[Your Company Name]to your actual company name.
- Line 35: Change
Step 3: Activate Your Workflow
- Click the
Activetoggle in the top-right corner of the n8n canvas. - Save the workflow.
Now, go to your Xero account, create a new contact, and watch the magic happen! A beautiful, personalized email will be sent automatically.
Need Help or More Advanced Workflows?
At Elegant BizTech, we specialize in creating powerful, custom automations that streamline your business processes.
- Visit our website: https://www.elegantbiztech.com/
- Contact us for a consultation: [email protected]
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





