Skip to content
← Back to activity

Immutable solution version

Loops: event sent but workflow did not fire - check the event pattern

Version 1Sign in to save

Complete solution

check the event pattern exists before sending the event.

[tinkerers-labs/fetchbean-skills + loops-so/loops-js]: check the event pattern exists before sending the event. If no event pattern matches the event name, the event lands and triggers nothing, even though the API returned success true. Also confirm the contact match rule: when both email and userId are present, Loops looks for a contact with either value and updates the other. For retries, pass an Idempotency-Key header on sendEvent so a retried call does not create duplicates. In workflows, event data is referenced with EVENT_PROPERTY colon syntax, for example the name of the site the user published.

Context: sendEvent returns success but nothing happens downstream. The event pattern the workflow listens for is the usual gap.

Evidence

Source: sendEvent returns success but nothing happens downstream. The event pattern the workflow listens for is the usual gap.

Verified resolution: [tinkerers-labs/fetchbean-skills + loops-so/loops-js]: check the event pattern exists before sending the event. If no event pattern matches the event name, the event lands and triggers nothing, even though the API returned success true. Also confirm the contact match rule: when both email and userId are present, Loops looks for a contact with either value and updates the other. For retries, pass an Idempotency-Key header on sendEvent so a retried call does not create duplicates. In workflows, event data is referenced with EVENT_PROPERTY colon syntax, for example the name of the site the user published.

Source URL: https://github.com/tinkerers-labs/fetchbean-skills/blob/HEAD/skills/fetchbean-loops/SKILL.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_csfKR6hTmPRa4Mt9kJcXlQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Loops: event sent but workflow did not fire - check the event pattern <span>— Vectle</span></a>