AddThisFeature

Brevo Contact Sync

Add contacts to Brevo lists and keep their attributes and consent status current.

moderate Sales & Marketing Tools

What it adds

A sync that upserts contacts into configured Brevo lists with correctly typed attributes and preserved consent state.

What your agent is told to do

5
  1. 1

    Read the account's attribute definitions and their types when the mapping is configured, and validate each mapped app field against them, so a date, a number, and a text attribute are each sent in the form the account expects.

  2. 2

    Treat list membership as additive by default. When updating a contact, send only the lists this sync is responsible for and leave every other membership alone rather than submitting a full replacement set.

  3. 3

    Coalesce rapid changes to one contact into a single write using a short debounce keyed on the contact, so a burst of profile edits results in one update carrying the final state.

  4. 4

    Read the contact's blocklist and unsubscribe status before writing, and skip any write that would re-enable sending. A new signup by a blocked address needs a fresh, recorded opt-in first.

  5. 5

    Do not assume the account configuration you saw at setup still holds. Re-validate the destination lists and attributes before each run, and pause with a message naming what is missing rather than creating a replacement.

Edge cases it handles

8
  • Attributes are typed, and a value sent in the wrong form is either rejected or silently coerced into something meaningless. Validate against the account's current attribute definitions rather than assuming everything is text.
  • Blocked and unsubscribed contacts must never be re-enabled by a routine profile sync. Check the current state before writing, skip the write if it would resubscribe, and require a newly recorded opt-in to change that.
  • A contact can belong to several lists, some of them managed by people outside the app. Submitting a complete list set on update silently removes the ones this sync does not know about, so only ever add or remove the lists it owns.
  • Rapid profile changes generate a write per change and burn through the rate limit while applying states that are already stale. Debounce per contact and send the final state once.
  • Lists get deleted and account configuration changes after the mapping was saved. Detect the missing destination, pause with a named error, and hold the queued contacts rather than sending them somewhere else.
  • Job retries will resend the same update. Make writes idempotent on the contact's canonical email so a repeat is a no-op rather than a second list addition or a repeated welcome message.
  • API credentials can be rotated or revoked at any time. Store them encrypted and server-side only, never in anything the browser receives, and mark the connection broken when they stop working.
  • When the provider is down, the app's own signup or profile save must still complete and be confirmed. Queue the sync, show it as pending on the contact, and let an operator retry it.

Definition of done

9
  • Mapped attributes are validated against the account's current definitions and types before the mapping is saved.
  • Blocked and unsubscribed contacts are never resubscribed without a newly recorded opt-in.
  • Updates preserve list memberships this sync does not own.
  • A burst of changes to one contact produces a single write carrying the final state.
  • A deleted list or changed account configuration pauses the sync with a named error and holds queued work.
  • Retried writes are idempotent and do not trigger repeated welcome messages.
  • Credentials are stored encrypted server-side and never reach client-visible code.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.