Bookmark links from Streamplace chat

When I reply to a message with "+bookmark", bookmark the links it contains on community.lexicon.bookmarks.bookmark and annotate it on Kipclip

place.stream.chat.message
Lexicon
place.stream.chat.message
Operations
Record created

Steps (8)

Conditiongate
  • Continue only if event.did equals {{self}} - Triggered only by my message
  • and event.commit.record.text equals +bookmark - Triggered only by this text command
Fetch recordparentMessage- Fetches the parent chat message data
Lookup
{{event.commit.record.reply.parent.uri}}
Conditiongate
  • Continue only if parentMessage.found equals true
Loopaction1
For each item in parentMessage.record.facets[].features[]
Conditiongate
  • Continue only if item.$type equals app.bsky.richtext.facet#link

Create a recordAction 1- Bookmark each link

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

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

Bookmark AT URI
{{item.uri}}
Page URL
{{item.sourceItem.uri}}
Annotation note
Bookmark from Streamplace by Airglow automation, link sent by {{didToHandle(parentMessage.did)}} on {{didToHandle(parentMessage.record.streamer)}} stream chat.
Collection
com.kipclip.annotation