Skip to main content

Bookmark my site.standard.document

Save my own post

site.standard.document
Lexicon
site.standard.document
Operations
Record created
Watched repos
All repos

Steps (4)

Conditiongate
  • Continue only if event.did equals {{self}}
Fetch recordpublication
Lookup
{{event.commit.record.site}}
Conditionbranch
  • If publication.found equals true
Then

Create a recordAction 1

Target Collection
community.lexicon.bookmarks.bookmark
Record Template
{
  "$type": "community.lexicon.bookmarks.bookmark",
  "subject": "{{publication.record.url}}/{{event.commit.record.path}}",
  "createdAt": "{{now}}"
}
$type is set to the target collection when the record is written.