Save on Semble messages from Streamplace chat
When I reply to a message with "+msave", save a PDSls url for the message record on Semble and add to my collection
place.stream.chat.message- Lexicon

place.stream.chat.message- Operations
- Record created
Steps (6)
CollectionURI- Value
- Hidden
- Note
- ATURI for the Semble Collection of destination
- If
event.didequals{{self}}- Triggered only by my message - and
event.commit.record.textequals+msave- Triggered only by this text command - and
event.commit.record.reply.parent.uriexists - Triggered only if it's a reply
Then
parentMessage- Fetches the parent chat message data- Lookup
{{event.commit.record.reply.parent.uri}}
sembleCollection- Fetches data from Semble Collection- Lookup
{{CollectionURI}}
Save on SembleAction 1card
- Page URL
https://pdsls.dev/{{parentMessage.uri}}
Create a recordAction 2
- Target Collection
network.cosmik.collectionLink- Record Template
{ "card": { "$type": "com.atproto.repo.strongRef", "cid": "{{card.cid}}", "uri": "{{card.uri}}" }, "addedAt": "{{now}}", "addedBy": "{{self}}", "createdAt": "{{now}}", "collection": { "$type": "com.atproto.repo.strongRef", "cid": "{{sembleCollection.cid}}", "uri": "{{sembleCollection.uri}}" }, "provenance": { "$type": "network.cosmik.defs#provenance", "via": { "$type": "com.atproto.repo.strongRef", "cid": "{{card.cid}}", "uri": "{{card.uri}}" } } }