Bookmark links from posts I like

When I like a post on Bluesky, bookmark the links it contains on community.lexicon.bookmarks.bookmark

app.bsky.feed.like
Lexicon
app.bsky.feed.like
Operations
Record created
Watched repos
  • {{self}}

Steps (6)

Fetch recordpost
Lookup
{{event.commit.record.subject.uri}}
Conditiongate
  • Continue only if post.found equals true

Collect linksAction 1links

Source
{{post.record}}
Output
{{links}}
Dedupe
on
Allowed paths
embed.external.uri, facets[].features[].uri
Loopaction2
For each item in links[] as link

Create a recordAction 2

Target Collection
community.lexicon.bookmarks.bookmark
Record Template
{
  "subject": "{{link}}",
  "createdAt": "{{now}}"
}

Send notificationAction 3

Title
New bookmark
Body
Bookmark saved: {{link}}
Link
{{link}}