Sync Bsky follow to Tangled

When I follow someone on Bluesky, follow them on Tangled if they have a profile

Lexicon
app.bsky.graph.follow
Operations
Record created
Watched repos
  • {{self}}

Data Sources (2)

Record lookuphasTangledProfile— Make sure the profile exists
Lookup
at://{{event.commit.record.subject}}/sh.tangled.actor.profile/self
  • Continue only if the record is found
SearchnotAlreadyFollowedOnTangled— Make sure I do not already follow them on Tangled
Collection
sh.tangled.graph.follow
In repo
{{self}}
Where
subject equals {{event.commit.record.subject}}
  • Continue only if no matching record is found

Actions (1)

Follow on TangledAction 1

App
Tangled
Collection
sh.tangled.graph.follow
Subject DID
{{event.commit.record.subject}}