Quick overview
This workflow listens for new LinkedIn messages via Nilyo, fetches recent conversation context, and sends you a WhatsApp alert with the sender, the latest message, and a short thread preview.
How it works
- Triggers when Nilyo receives a new
message.new event from your LinkedIn inbox.
- Sets the WhatsApp alert recipient name and how many recent thread messages to include.
- Filters out messages you sent yourself, system events, and empty messages.
- Uses Nilyo to read the latest messages from the LinkedIn conversation referenced by the event.
- Aggregates the retrieved messages into a single thread context.
- Sends a WhatsApp message via Nilyo to the configured contact with the new message and a preview of earlier messages.
Setup
- Install and enable the Nilyo community node (
n8n-nodes-nilyo) in your n8n instance.
- Create a Nilyo personal token (Agent access) and add it as a Nilyo API credential in n8n.
- Connect your LinkedIn account and WhatsApp account in Nilyo.
- Update the alert recipient name in the workflow Settings to match a unique contact/chat name in your WhatsApp.