Sync Bsky follow to Sifa

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

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

Data Sources (2)

Record lookuphasSifaProfile— Make sure the profile exists
Lookup
at://{{event.commit.record.subject}}/id.sifa.profile.self/self
  • Continue only if the record is found
SearchnotAlreadyFollowedOnSifa— Make sure I do not already follow them on Sifa
Collection
id.sifa.graph.follow
In repo
{{self}}
Where
subject equals {{event.commit.record.subject}}
  • Continue only if no matching record is found

Actions (1)

Follow on SifaAction 1

App
Sifa
Collection
id.sifa.graph.follow
Subject DID
{{event.commit.record.subject}}