Bookmark by replying on Bluesky

When I reply "Bookmark" to a Bluesky post, bookmark all links it contains on the community lexicon

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

Conditions

  • text equals Bookmark
  • reply.parent.uri exists

Data Sources (1)

Record lookupparentPost
Lookup
{{event.commit.record.reply.parent.uri}}
  • Continue only if the record is found

Actions (3)

Collect linksAction 1

Source
{{parentPost.record}}
Output
{{links}}
Dedupe
on
Allowed paths
embed.external.uri, facets[].features[].uri

Create a recordAction 2

For each item in
links[]
Target Collection
community.lexicon.bookmarks.bookmark
Record Template
{
  "subject": "{{item}}",
  "createdAt": "{{now}}"
}

Annotate on KipclipAction 3- For each bookmark created in action 1, add a Kipclip annotation

For each item in
action2.results[]
Bookmark AT URI
{{item.uri}}
Page URL
{{item.sourceItem.uri}}
Annotation note
Bookmark from Bluesky by Airglow automation, link sent by {{didToHandle(parentPost.did)}} {{parentPost.uri}}.
Collection
com.kipclip.annotation