Send the Candidate Recommendation Email

Decode Chewbacca's CV - Challenge 6 of 6
Difficulty
2/10
Tags
EssentialsHTTP RequestEdit Fields (Set)aggregateExpressionsJSON

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

  1. 1Copy the exercise below
  2. 2Paste into your n8n editor (Ctrl+V)
  3. 3Solve it — use hints if you get stuck
  4. 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.

  1. Start with the workflow from the previous challenge (already provided)
  2. Add an Edit Fields node after the Reconstruct CV node
  3. 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.

Hints

  1. Add an Edit Fields node after the Reconstruct CV node
  2. Create a subject field with value: Candidate Recommendation: {{ $json.name }}
  3. Create a body field with the email content: 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

Explanation

Congratulations on completing the journey!

You've built a complete workflow that:

  1. Fetches a CV from an API
  2. Extracts and flattens nested data
  3. Splits data for batch processing
  4. Translates each field via API
  5. Aggregates and reconstructs the translated data
  6. Generates a formatted email

Templating in n8n:

The Edit Fields node with expressions is perfect for building templated content. You can:

  • Insert variable values with {{ $json.fieldName }}
  • Combine static text with dynamic data
  • Format content for emails, reports, etc.

The final output:

Subject: Candidate Recommendation: Chewbacca

Body:
Dear Hiring Team,

I am pleased to recommend Chewbacca, a Wookiee from Kashyyyk.

Most Recent Role: Co-Pilot at Millennium Falcon.

This candidate comes highly recommended from our elite network.

Best regards,
Your Headhunter

Next steps in a real workflow:

In a production workflow, you would connect this to an actual email node (Gmail, Outlook, SMTP) to send the email. For this challenge, we've created the email content - ready to be sent!

What you learned in this journey:

  • HTTP Request node for API calls
  • Edit Fields for data transformation
  • Split Out for separating array items
  • Aggregate node for combining items
  • Expressions for dynamic content
  • Data transformation patterns

Copy the Solution

Paste into n8n with Ctrl+V to compare with your approach.

Login to see the exercise

Create an account to access challenges and track your progress.

Log in to see exercise

Related Content

Continue your learning journey with these related challenges and guides: