Brevo name-day automation

Match Brevo contacts to Synaxar’s daily name-day feed and start a Brevo automation with a custom event for each eligible contact.

Create a Brevo automation for name days

  1. Create a text contact attribute such as SYNAXAR_NAME_KEY. Save the contact’s chosen calendar and name, for example el:giorgos.
  2. Fetch https://synaxar.com/api/portal/el/today on a schedule and compare celebrants[].key with that contact attribute. Check the contact’s communication preferences before adding them to the greeting flow.
  3. Configure the Brevo automation to start on the custom event synaxar_name_day. Use that exact event name when your workflow sends a match to Brevo.

Example request to the Brevo Events API

Send the payload to POST https://api.brevo.com/v3/events with your Brevo API key in the api-key header. Replace the example email with the identifier of the matched contact in your Brevo account.

{
  "event_name": "synaxar_name_day",
  "identifiers": {
    "email_id": "customer@example.com"
  },
  "event_properties": {
    "calendar": "el",
    "name_key": "el:giorgos",
    "name_day_date": "2027-05-03"
  }
}

Keep a daily event record

Record the Brevo contact ID and the feed’s iso date after an accepted event. When you retry the workflow, skip the records already sent for that day. Send only the calendar, name key and date as event properties unless your automation uses additional fields.

Official references