Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Social Media Publishing

Social Media Publishing

Personalized LinkedIn Replies with OpenAI and Notion Routing

When another workflow calls it, an OpenAI agent drafts a LinkedIn reply using routing rules stored in a Notion database.

What it does

## Get routing Database data An AI bot that does not get smarter over time is not a useful bot. That is why this bot references a shared internal database where requests routing can be updated without having to touch the n8n workflows. When a request comes in that does not have a standardized process, the AI will generate a response based on its model training. You can use this as a starting point, but when this becomes a pattern, simply updating the notion database instantly upgrades the AI bot. Not only that, but others can update the database, not only giving the AI context, but also creating a centralized location for standardized processes for handling different request types. This can be adapted for any platform, not just linkedIn, such as shared email inboxes, shared social media pages, and even for support requests.

The steps

  1. When Executed by Another Workflow
  2. AI Agent
  3. Simple Memory
  4. OpenAI Chat Model
  5. Structured Output Parser
  6. Isolate parent workflow data for AI
  7. Get Request Router Directory Database
  8. Format DB data for AI Context
  9. Aggregate DB objects into one item

Similar automations