An agent that saves cool sites to Notion

x.com24 saved

Written by AI

TLDR
Brian Lovin built an agent that saves a link to Notion, dedupes and classifies it, captures screenshots, and drafts a tweet.
Best for
Anyone filing links, leads or references into a Notion database by hand.
The tip
Let an agent run the filing so you can fix its mistakes in plain language later. Brian Lovin's agent dedupes each link, classifies it, screenshots it, files it in Notion and drafts a tweet.
What you need
  • an agent
  • a Notion database
  • a small endpoint that captures light and dark mode screenshots
The prompt

review all sites I've saved in the notion db and see if we accidentally captured loading states/403 errors and re-process

Start here
  1. Paste a link and have the agent check your Notion database for duplicates.
  2. Have it pull the metadata and classify the link.
  3. Add it to the database and reply with a draft post.

postThe source

Brian Lovin@brian_lovin

Built a little agent automation where I paste a link to a cool website I want to save:

→ checks for duplicates in my notion db → extracts metadata (favicon, x handle, title) → ai classifies as personal site or company/product → pings a small endpoint to capture light and dark mode screenshots → adds the site + all details to my notion db → purges the cache on my /sites page → replies with a tweet draft (in case I want to share)

It's probably slightly inefficient compared to making this fully deterministic, but I like having an agent take care of it because I can say things like:

  • oh, that site you captured has a weird loading state, recapture after waiting 3 seconds
  • review all sites I've saved in the notion db and see if we accidentally captured loading states/403 errors and re-process

Yesterday I tried to save a link that 403d so I had my agent wire up a rotating residential proxy to get around it. Look ma no hands!

→ https://t.co/FJoD3DIiFD

(most recently saved https://t.co/cYP0qqWvTk by @shedsgns)

Media saved

Highlights
  • It's probably slightly inefficient compared to making this fully deterministic, but I like having an agent take care of it

    The tradeoff, stated plainly

  • Yesterday I tried to save a link that 403d so I had my agent wire up a rotating residential proxy to get around it.