Templates / Generate and email daily AI-powered HR changes digest from SAP SuccessFactors EC with GPT-4o-mini and Gmail

Generate and email daily AI-powered HR changes digest from SAP SuccessFactors EC with GPT-4o-mini and Gmail

Ready for 3.0

by Chris from HRX ✓ · 184 views · created 2026-05-02 · HR, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 19 nodes and runs on a schedule (cron 30 6 * * *) (plus 1 other trigger). Along the way it connects Gmail. It also calls api.openai.com over HTTP.

How it runs

Trigger: On a schedule (cron 30 6 * * *) (plus 1 other trigger).

  1. Set Config Variables (Edit Fields (Set)): sets 3 fields: SF_BASE_URL, EMAIL_TO, DIGEST_LANGUAGE
  2. Calculate Date Range (Code): runs custom JavaScript code
  3. Fetch New Hires (HTTP Request): calls an HTTP API
  4. Fetch Terminated Employees (HTTP Request): calls an HTTP API
  5. Fetch Internal Transfers (HTTP Request): calls an HTTP API
  6. Fetch Address Changes (HTTP Request): calls an HTTP API
  7. Combine Data from Sources (Code): runs custom JavaScript code
  8. Check for Critical Errors (If): checks a condition and branches into true / false
  9. Create Error Email Content (Code): runs custom JavaScript code
  10. Check for HR Changes (If): checks a condition and branches into true / false

…plus 7 more steps. See the full node list below.

Services it uses

Gmail

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

How it works 1. Triggers daily or manually for execution. 2. Configures base URL and email settings for SAP SF. 3. Fetches HR change data from SuccessFactors. 4. Aggregates data and checks for errors or changes. 5. Processes results with AI and sends digest…

Excerpt from Chris from HRX's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.