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
- When Executed by Another Workflow
- AI Agent
- Simple Memory
- OpenAI Chat Model
- Structured Output Parser
- Isolate parent workflow data for AI
- Get Request Router Directory Database
- Format DB data for AI Context
- Aggregate DB objects into one item
Similar automations
Social Media PublishingRoute and Answer LinkedIn Messages with OpenAI and Notion36 stepsSocial Media PublishingPublish Daily Notion Posts to LinkedIn9 stepsSocial Media PublishingPublish Scheduled Notion Posts to LinkedIn19 stepsSocial Media PublishingPublish Scheduled LinkedIn Posts from Notion with OpenAI9 steps