/

Post drafter

Suggested posts in an email notification
Suggested posts in an email notification

Post drafter

Creator

What's in this guide

We will be building an agent that will draft LinkedIn posts for you each week by referencing your own past posts and influencer's recent posts. Here's how it's set up:

  • Every Monday

  • AI looks up posts to reference and writes suggested posts for you

  • You receive an email with post suggestions

This one's quick to build now that you have the reference posts all set up in your engagement tracker!

1. Make sure you've created the previous Engagement Tracker agents

This agent relies on you having an active Engagement Tracker sheet capturing your posts and the recent posts of influencers in your space. Make sure you've set that up already so this agent will have a knowledge source to reference. Without these posts and metrics, the AI will just produce generic post ideas.



2. Import the Post Drafter agent template

Build this agent by importing this simple template: Weekly LinkedIn Post Drafter template



3. Review the scheduled trigger (step #1)

This agent triggers weekly on Mondays.

Your engagement tracker agents run on Saturdays, and this post drafter agent runs on Mondays. With this schedule you should be able to queue up new posts for the week.



4. Add your Engagement Tracker as a knowledge source (step #2)

Open up step #2, the AI writing step. This prompt is already set up for you, but you need to attached your engagement tracker as a knowledge source for it to reference.

To add it as a knowledge source, select the Knowledge button at the bottom of the prompt, click Add new source, click Google Sheets, and find your sheet.



Once your spreadsheet is added, you'll see it as a chip at the bottom of the prompt. This sheet is synced every 15 minutes, so when the agent runs, it will always have access to the latest posts in the sheet.



5. Review the email notification (step #3)

The final step of this agent is sending yourself the drafts. If you open up step #3, you'll see it's an email notification with the AI output as the email body.

If you prefer, you could switch to a Slack message instead.



6. Start a test run

Click Start a test run to see how this agent does.


7. Check out the post drafts and make any necessary changes to your prompt

Review the suggested posts. Do you need to make any changes to your prompt?

For example, in my testing, I noticed that the AI liked making up references to customer meetings I had that week! That means I need to update the prompt to tell it not to make up any meetings or events.

You can use step testing in the agent editor to make iteration and testing go a bit quicker.



8. Turn the agent on and start writing more LinkedIn posts

Now, every Monday, you'll have a few post ideas in your inbox!



Next, we'll reply and connect with people who engage

You've completed the cold connection and post research and writing sections of this AI system. Last, we need to reply to comments on your posts and connect with the people who engage.