site.standard.document- Lexicon
site.standard.document- Operations
- Record created
Conditions
event.didequals{{self}}- I only care about my documents
Data Sources (2)
publicationโ 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
post- Collection
app.bsky.feed.post- In repo
{{self}}- Where
textequals๐ {{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}}" } }