Latenode

Streamline LinkedIn message management with routing and automation

This workflow helps professionals who receive many irrelevant LinkedIn messages by automatically routing and responding to them. It receives incoming LinkedIn messages via a webhook, detects the message type, and routes the relevant ones to the appropriate team member.

The workflow integrates with Slack for message management, Unipile for LinkedIn API access, Notion for data storage, and OpenAI for generating personalized responses. It aims to streamline communication and free up time for the user to focus on more important tasks.

Updated Apr 6, 2026Est. run: 22sEst. cost: $0.12
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
Social media

Workflow preview

What this template does

  • Detects incoming LinkedIn messages via a webhook
  • Routes relevant messages to the appropriate team member
  • Generates personalized responses using OpenAI
  • Stores message data in Notion for future reference
  • Integrates with Slack for message management and collaboration

How it works

1
Trigger

Receive Incoming LinkedIn Message

The workflow starts by receiving an incoming LinkedIn message via a webhook. This triggers the process of detecting, routing, and responding to the message.

2
Logic

Detect Message Type

The workflow checks if the incoming message is from a user or an organization. This determines how the message will be routed and responded to.

3
Action

Verify Message in Slack

The message is sent to a Slack channel for verification. The workflow checks if the user has approved the message for further processing.

4
Action

Route Message to Appropriate User

Depending on whether the message is from a user or an organization, the workflow routes the message to the appropriate team member (Angel or Max) in Slack.

5
Logic

Extract Message Details

The workflow extracts the message text and payload from the LinkedIn message for further processing.

6
Action

Forward Message to Coworker Workflow

The extracted message details are forwarded to a separate coworker workflow for further handling.

7
Action

Send Message to LinkedIn

The workflow uses the Unipile API to approve the message and send it back to LinkedIn.

8
Action

Clean Up Slack

After the message has been processed, the workflow deletes the approved or denied message from the Slack channel.

9
AI

Generate Personalized Response

The workflow uses OpenAI to generate a personalized response to the LinkedIn message based on the extracted message details.

10
Action

Store LinkedIn Data

The workflow stores the user and organization data related to the LinkedIn message in a Notion database for future reference.

11
Logic

Handle Missing Data

If any necessary data is missing, the workflow sets a 'unable to find data' object to ensure a graceful handling of the situation.

Setup guide

1

Add LinkedIn Webhook

In the Latenode visual builder, add a Webhook node. Configure the webhook URL and request method to receive incoming LinkedIn messages.

2

Add Latenode Credentials for Integrations

In the Latenode Credentials panel, add credentials for the following integrations: 1. Slack: Add your Slack webhook URL. 2. Unipile: Add your Unipile API credentials. 3. Notion: Add your Notion database credentials. 4. OpenAI: Add your OpenAI API credentials.

3

Configure LinkedIn Message Routing

In the Latenode visual builder, add nodes to handle the incoming LinkedIn message: 1. Check if the message is from the user. 2. Set global variables from the message data. 3. Verify the Slack webhook and parse the payload. 4. Check if the message was approved by the user. 5. Send the message to the appropriate Slack channel (user or organization).

4

Integrate with Slack and Notion

In the Latenode visual builder, add nodes to integrate with Slack and Notion: 1. Use a Switch node to decide on the message type (user or organization). 2. Send the approved message to a Slack channel using the Slack node. 3. Store the LinkedIn user and organization data in a Notion database using the Notion node.

5

Generate Personalized Responses

In the Latenode visual builder, add nodes to generate personalized responses using OpenAI: 1. Use the LangChain Agent node to generate a personalized response to the message. 2. Aggregate the LinkedIn user and organization data into a single object using the Aggregate node.

Requirements

Create a LinkedIn Developer account and obtain an access token for making API requests
Set up a Slack workspace and create a bot integration to send messages from the workflow
Provision a Notion workspace and database to store processed LinkedIn messages and responses
Obtain an OpenAI API key to generate personalized responses to LinkedIn messages

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
Social media

Automatically like fresh Instagram posts with AI-powered targeting

This Latenode automation template helps social media managers and brands maintain an active and engaged presence on Instagram by automatically liking fresh posts on selected hashtags. The workflow uses a rotating set of Instagram session cookies, AI-powered hashtag generation, and Phantombuster web scraping to streamline the process, reducing the need for manual intervention. The scheduled trigger runs every 2 hours, selecting a random cookie and generating relevant hashtags to target new posts, then automatically liking them. The solution integrates with Instagram, Phantombuster, Microsoft SharePoint, and OpenAI to provide a comprehensive automation experience.

26s$0.0703
Social media

Automate your sales outreach with Apify, GPT-4o, and WhatsApp

This automated workflow streamlines the sales cold calling process by integrating web scraping, natural language processing, and WhatsApp messaging. It leverages Apify to extract lead data from social media and web sources, generates personalized sales scripts using GPT-4o, and sends automated outreach messages via WhatsApp to connect with potential customers. The workflow is designed for sales teams looking to optimize their cold calling pipeline and increase productivity by automating repetitive tasks.

26s$0.0703
Social media

Automatically sync LinkedIn lead gen form data to Google Sheets

This automation solution is designed to help marketers and sales teams efficiently capture and track new lead generation form responses from LinkedIn Ads. The automation will automatically transfer the lead details, such as name, email, and other relevant information, into a centralized Google Sheets spreadsheet. This provides a unified view of all incoming leads, allowing for better organization, analysis, and follow-up. By streamlining the lead capture process, users can focus on nurturing and converting these potential customers, rather than manually managing multiple data sources.

25s$0