Quick overview
This workflow runs every morning and uses Nilyo to collect recent WhatsApp messages, incoming emails, and pending LinkedIn invitations, then uses OpenAI to write a short briefing and sends the digest to you on WhatsApp.
How it works
- Runs every day at 8:00 based on a schedule trigger.
- Sets the digest recipient name and lookback window (in hours) used to fetch recent activity.
- Uses Nilyo to pull recent WhatsApp messages, recent emails, and received LinkedIn invitations, continuing even if one source fails.
- Waits for all three sources to return and aggregates the combined results into a single dataset.
- Sends the aggregated data to OpenAI Chat to generate a plain-text briefing grouped into “needs an answer today”, “can wait”, and “ignore”.
- Sends the generated briefing to the configured recipient via WhatsApp using Nilyo.
Setup
- Install and enable the Nilyo community node (
n8n-nodes-nilyo) in your n8n instance.
- Create a Nilyo personal token (Agent access), add it as a Nilyo API credential, and connect your Email, WhatsApp, and LinkedIn accounts in Nilyo.
- Add an OpenAI API credential for the chat model used to write the briefing.
- Update the Settings values for
digest_recipient and lookback_hours to match your WhatsApp contact name and desired time window.