Trigger Social

Triggers when a new cast (post) is published on Farcaster. Optionally filter by author FID, mentioned users, text pattern, or channel URL. Powered by Neynar webhooks.

At a Glance

FieldValue
Trigger IDfarcaster-new-cast
CategorySocial
Tagsfarcaster, social, cast, post, neynar, webhook

Trigger Configuration

FieldTypeRequiredDescription
authorFidsarrayNoFilter by author Farcaster IDs (FIDs). Only casts from these users will trigger the workflow.
mentionedFidsarrayNoFilter by mentioned Farcaster IDs. Only casts mentioning these users will trigger.
textPatternstringNoRegex pattern to match against cast text (e.g., '\bbase\b' for word 'base').
channelUrlstringNoFilter by Farcaster channel URL (e.g., 'https://warpcast.com/~/channel/base'\).

Trigger Result

FieldTypeRequiredDescription
triggeredAtstringYesTimestamp when the cast was detected (UTC, RFC3339 format)
eventTypestringYesNeynar event type
bodyobjectYesFull Neynar cast event data including hash, author (fid, username, display_name, pfp_url), text, timestamp, embeds, channel, reactions, replies, mentioned_profiles

Workflow Root Example

json
{ "nodes": { "root": { "type": "farcaster-new-cast", "payload": { "authorFids": [], "mentionedFids": [], "textPattern": "Workflow completed", "channelUrl": "https://example.com/webhook" }, "children": [ "log_event" ] }, "log_event": { "type": "log", "payload": { "message": "Triggered at {{$trigger.triggeredAt}}" }, "children": [] } }}

Downstream nodes can use {{$trigger.triggeredAt}} and any result fields listed above. Event triggers usually expose the raw source payload under a field such as event, body, trade, or raw.

Ask a question... ⌘I