Starred Tangled Repo to Semble Collection (copy)
All Tangled Repositories starred are saved into a Semble Collection. *CONTAINS HARDCODED AT URI, EDIT IF YOU REPLICATE*
sh.tangled.feed.star- Lexicon
sh.tangled.feed.star- Operations
- Record created
Conditions
event.didequals{{self}}- Fetches only Tangled stars by the automation owner
Data Sources (2)
tnglRepo— Fetches the repository data- Lookup
{{event.commit.record.subject}}
sembleCollection— Fetches data from Semble Collection *AT URI HARDCODED*- Lookup
at://did:plc:fip3nyk6tjo3senpq4ei2cxw/network.cosmik.collection/3meymyrbuxn2q
Actions (2)
Save on SembleAction 1- Build Tangled Repository URL and saves as Semble Card
- Page URL
https://tangled.org/{{tnglRepo.did}}/{{tnglRepo.record.name}}
Create a recordAction 2- Saves the Semble Card from action1 into the provided Semble Collection
- Target Collection
network.cosmik.collectionLink- Record Template
{ "card": { "cid": "{{action1.cid}}", "uri": "{{action1.uri}}" }, "addedAt": "{{now}}", "addedBy": "{{self}}", "createdAt": "{{now}}", "collection": { "cid": "{{sembleCollection.cid}}", "uri": "{{sembleCollection.uri}}" }, "provenance": { "via": { "cid": "{{action1.cid}}", "uri": "{{action1.uri}}" } } }