Bookmark messages from Streamplace chat for later

When I reply to a message with "+mbookmark", bookmark a PDSls url for the message record on community.lexicon.bookmarks.bookmark and annotate it on Kipclip

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

Steps (4)

Conditiongate
  • Continue only if event.did equals {{self}} - Triggered only by my message
  • and event.commit.record.text equals +mbookmark - Triggered only by this text command
  • and event.commit.record.reply.parent.uri exists - Triggered only if it's a reply
Fetch recordparentMessage
Lookup
{{event.commit.record.reply.parent.uri}}

Create a recordAction 1bookmark

Target Collection
community.lexicon.bookmarks.bookmark
Record Template
{
  "subject": "https://pdsls.dev/{{parentMessage.uri}}",
  "createdAt": "{{now}}"
}

Annotate on KipclipAction 2

Bookmark AT URI
{{bookmark.uri}}
Page URL
https://pdsls.dev/{{parentMessage.uri}}
Annotation note
Bookmark by Airglow automation, saving a Streamplace message to check it out later. Message sent by {{didToHandle(parentMessage.did)}} on {{didToHandle(parentMessage.record.streamer)}} stream chat.
Collection
com.kipclip.annotation