Save by replying on Bluesky

When I reply "Semble it" to a Bluesky post, save the post on Semble

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

Steps (7)

Conditiongate
  • Continue only if event.commit.record.text equals Semble it
  • and event.commit.record.reply.parent.uri exists
Fetch recordparentPost
Lookup
{{event.commit.record.reply.parent.uri}}
VariableCollectionURI
Value
Hidden
Note
ATURI for the Semble Collection of destination
Conditionbranch
  • If parentPost.found equals true
Then

Save on SembleAction 1card

Page URL
https://bsky.app/profile/{{parentPost.did}}/post/{{parentPost.rkey}}
Fetch recordsembleCollection
Lookup
{{CollectionURI}}

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}}"
    }
  }
}