Template Content with Expressions
You're a headhunter. You've decoded Chewbacca's CV from Wookiee growls to English and reconstructed it into a proper object. Now it's time to send your recommendation to the client company.
Use a template to create a professional recommendation email with the candidate's details filled in.
What you'll practice:
- Building templated content with expressions
- Combining multiple data fields into formatted text
- Creating email-ready output
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Create a recommendation email using the translated CV data. Build both the subject line and body using the provided template.
- Start with the workflow from the previous challenge (already provided)
- Add an Edit Fields node after the Reconstruct CV node
- Create two fields:
subject: "Candidate Recommendation: "body: The full email body (template below)
Email Template:
Dear Hiring Team,
I am pleased to recommend {{ $json.name }}, a {{ $json.species }} from {{ $json.homeworld }}.
Most Recent Role: {{ $json.role }} at {{ $json.employer }}.
This candidate comes highly recommended from our elite network.
Best regards,
Your Headhunter
Expected output: A single item with subject and body fields containing the personalized email content.
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.