@plttn-test.bsky.social

Sync Bluesky post into (copy)

site.standard.document
Lexicon
site.standard.document
Operations
Record created

Conditions

  • event.did equals {{self}} - I only care about my documents

Data Sources (2)

Record lookuppublicationโ€” gives me the publication to edit the bskypost ref (and also build the url in post finder)
Lookup
at://did:plc:edrxgagoyn2shm345q5nxaze/site.standard.publication/3ml7lh23tdz2s
Searchpost
Collection
app.bsky.feed.post
In repo
{{self}}
Where
text equals ๐Ÿ“ {{event.commit.record.title}} ยท {{event.commit.record.description}} {{publication.record.url}}{{event.commit.record.path}}

Actions (1)

Update a recordAction 1

Target Collection
site.standard.document
Base Record URI
at://{{event.did}}/site.standard.document/{{event.commit.rkey}}
Update mode
Shallow merge
Patch Template
{
  "bskyPostRef": {
    "cid": "{{post.cid}}",
    "uri": "{{post.uri}}"
  }
}