@vicwalker.dev.br

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

Conditions

  • event.did equals {{self}} - Triggered only by my message
  • text equals +bookmark - Triggered only by this text command

Data Sources (1)

Record lookupparentMessage— Fetches the parent chat message data
Lookup
{{event.commit.record.reply.parent.uri}}
  • Continue only if the record is found

Actions (2)

Create a recordAction 1- Bookmark each link

For each item in
parentMessage.record.facets[].features[]
Where
$type equals app.bsky.richtext.facet#link
Target Collection
community.lexicon.bookmarks.bookmark
Record Template
{
  "subject": "{{item.uri}}",
  "createdAt": "{{now}}"
}

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

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