Skip to main content

iPaaS.com to Brevo Gift Card Email Mapping Documentation

How the Brevo integration emails each new iPaaS.com gift card once to its recipient from a Brevo email template: what is sent, what must be set up first, how Email Sandbox Mode works, and what to do when a card is refused.

Contents

  • Summary

  • ID Format

  • Deleted Record Support

  • Custom Field Support

  • Mapping Collection Status

  • Duplicate or Conflicting Mappings

  • Supported Child Collections

  • System Caveats

  • Setup Requirements

  • Integration Flow

  • Mappings

  • Error Handling

  • Validation Rules

  • Testing & Validation

  • Additional Notes

  • Related Documents

  • External References

Summary

iPaaS.com gift cards can be emailed to their recipients through the optional Add Brevo Gift Card Email FROM iPaaS.com mapping collection, which sends each new gift card once as a Brevo transactional email built from an email template you design in Brevo. The card's number, balance and expiry date, the recipient's name, and a personal message from the card's Gift Message custom field reach the template as values it can print. Brevo keeps no gift card, so nothing about the card is stored in Brevo, and the collection is opt-in: its filter ships so that no gift card is emailed until you replace it.

ID Format

Manual Sync ID Format

Enter the iPaaS.com gift card id, a whole number, for example 13838. A Manual Sync emails the card if it has not been emailed yet.

Manual Sync window for the Brevo subscription, direction From iPaaS, collection type Transactional email, scope giftcard/created, with the gift card id 13838 entered

External ID Format

Brevo's id for the email that was sent, for example <202611131200.12345678901@smtp-relay.mailin.fr>. It is saved as the card's link, which is how a retried transfer recognizes the email it already sent.

Deleted Record Support

Not supported. Brevo keeps no gift card, only the email already sent, and the template has no Delete collection for gift cards, so deleting a gift card in iPaaS.com sends nothing to Brevo and raises no error. A Delete collection added for gift cards is refused with BREV-BIZL-1002 before anything reaches Brevo, and iPaaS.com retries it until that collection is removed and the error dismissed. An email that was already sent cannot be taken back from iPaaS.com. There is no need to turn on the delete event for gift cards under Outbound Data Flows.

Custom Field Support

Custom fields are supported. Each custom field you map reaches the Brevo template under its own name. A custom field with the same name as one of the card's own values, for example CARD_NUMBER, is not sent, so the card's value always wins, and a custom field with no value is not sent. Name the custom field as the template names its value. The template's Message mapping also reads a gift card custom field, Gift Message, for the personal message (see Mappings).

Mapping Collection Status

  • Status: Disabled by default. The collection is opt-in: its filter ships as a condition that lets nothing through, so no gift card is emailed until subscribers or their Managed Integration Service Provider (MiSP) replace it.

  • Trigger Events: the iPaaS.com event giftcard/created, once it is turned on under Outbound Data Flows on the Brevo subscription. No automatic transfers occur until this event is turned on. Manual Sync is available by gift card id.

  • Mapping Filter: see Mappings.

Placeholder value — replace during implementation: the filter ships as return false;. Replace it with a condition that lets through only the cards to email, for example cards issued from your own go-live date that have a recipient email. The date in the shipped example comment is only an example.

Duplicate or Conflicting Mappings

None. Brevo keeps no gift card to match against, so this collection has no Collision Handling Method setting. A transfer that is retried after Brevo accepted the email finds the email already sent and links to it instead of sending a second one (see Integration Flow).

Unmapped Field Overwrite

Not applicable. This collection sends data FROM iPaaS.com to Brevo, nothing is stored in Brevo, and no iPaaS.com record is written.

Supported Child Collections

None. Gift Card is a leaf collection.

System Caveats

Brevo Caveats

  • Template format. Brevo's API reference (2 December 2026) says the values this collection sends work only with templates in Brevo's New Template Language format.

  • Delivery is not read back. Brevo accepts the email and the transfer completes even when the recipient's mail server later refuses it, which many mail servers do for a sender domain that is not authenticated in Brevo. iPaaS.com does not read that back, so authenticate the sender domain in Brevo before you send gift cards, and expect bounces and unsubscribes of the recipient to be visible only in Brevo.

  • Sender and subject. They are the template's own. The email is sent from your Brevo account and uses your Brevo plan's sending allowance for every card the filter lets through. An account out of credits is refused by Brevo, which iPaaS.com shows with BREV-EXTN-1001.

  • Recipient name. Brevo's API reference (2 December 2026) limits a recipient name to 70 characters.

  • Rate limits. When Brevo's rate limit is reached, iPaaS.com holds the transfer and runs it again by itself after the limit resets (BREV-EXTN-1002); nothing is needed from subscribers or their MiSP. If an error repeats with no clear cause, contact your MiSP, or iPaaS.com Support at support@ipaas.com.

iPaaS.com Caveats

  • Message. iPaaS.com gift cards have no field for a personal message, so the Message mapping (MESSAGE in the template) reads the gift card custom field Gift Message, which subscribers create and fill (see Setup Requirements). The card's Description is not used, because a store may keep text there that is not meant for the recipient, for example Refund for order 1234. A card with no value in Gift Message is sent without a message, and the template shows an empty value for it without an error. MessageId is Brevo's id for the email, which the integration fills in: leave it unmapped.

  • Recipient. The email goes to the card's receiving customer email. To send each card to its buyer instead, map CustomerEmail to RecipientEmail.

  • Sync type Add. A card is emailed once, when it is created. A later change to the card, such as its balance or its recipient, sends nothing, and to email a card again you create a new card.

Integration-Specific Caveats

  • Once-only check. A transfer that is retried after Brevo accepted the email finds the email already sent. That check reads only the last 30 days of Brevo's email log for the recipient and the template, up to the 100 most recent emails, so a retry after that, or after the log entry was deleted, could send the email again.

  • Email Sandbox Mode. See Setup Requirements. A card sent in sandbox mode leaves no trace in Brevo's email log, so the once-only check cannot be tried while the setting is On.

  • The balance is printed as Brevo receives it. Format it in the template (see the Balance mapping).

Setup Requirements

Brevo Configuration

  1. Create the email template. In Brevo, create the email template that every gift card is sent with, in Brevo's New Template Language format, and make it active. The template reads the card's details as {{ params.CARD_NUMBER }}, {{ params.BALANCE }}, {{ params.EXPIRATION_DATE }} and {{ params.RECIPIENT_NAME }}, and the personal message as {{ params.MESSAGE }}; write it so that it reads well when a card has no message. Note the template's id on Brevo's email templates page: the number after # in the template's name.

  2. Authenticate the sender domain. In Brevo, authenticate the domain of the sender address your template uses. Brevo accepts an email from a domain that is not authenticated, but many recipients' mail servers refuse it, and iPaaS.com cannot see that. See Brevo Installation Instructions.

iPaaS.com Configuration

  1. Set the template id. Replace the value of the TemplateId mapping on the gift card collection with your Brevo template's id (see the pre-install prerequisite under Mappings).

  2. Set the filter. Replace the collection's filter with a condition that lets through only the cards to email.

  3. Turn on the event. Under Outbound Data Flows on the Brevo subscription, turn on giftcard/created.

  4. Create the Gift Message custom field (for a personal message). Create an iPaaS.com gift card custom field named Gift Message and fill it on each card that should carry a message, for example Happy birthday, Sam! or Congratulations on the new job, from all of us at the office. If your store integration fills a different gift card custom field, change the name in the Message mapping's formula to that field instead. Without it, cards are emailed without a message.

  5. Sandbox testing. The subscription setting Email Sandbox Mode makes Brevo check each gift card email without delivering it, which is useful while you build and test the template. Brevo's API reference (2 December 2026) says a sandbox request is only checked for format, sends no email and leaves no entry in Brevo's email log. A card sent while the setting is On counts as emailed and is linked, so it is not sent again when you set the setting back to Off. A change to the setting takes up to about a minute to reach transfers, so after you turn it On, wait a few minutes before you create test cards: a card created sooner can be emailed for real. The card's transfer log says when Brevo checked the email and did not deliver it. The setting must be Off or On (a blank value is read as Off); any other value is refused with BREV-VALD-1002.

Mappings of the Add Brevo Gift Card Email FROM iPaaS.com collection, with the Static TemplateId mapping holding a Brevo template id at the top

Subscription settings of the Brevo subscription, showing Email Sandbox Mode set to On

Outbound data flows page of the Brevo subscription, Gift Card section: giftcard/created sends to Add Brevo Gift Card Email FROM iPaaS.com, with its Active switch

Authentication is the Brevo API key entered in the API Key setting of the subscription; see Brevo Connections and Settings.

Integration Flow

  1. A gift card is created in iPaaS.com and the giftcard/created event is on, or a subscriber runs a Manual Sync with the gift card id. The card must pass the collection's filter. A card the filter leaves out is not emailed. No other collection is sent first.

  2. The card is checked before any call to Brevo, in this order: the TemplateId mapping is set and is not still the placeholder text (BREV-VALD-1023) and is a whole number above 0 (BREV-VALD-1024); the recipient email is one valid address (BREV-VALD-1025); the card has a number (BREV-VALD-1026); the card's iPaaS.com id reached GiftCardId (BREV-VALD-1027). A refused card is not emailed and stays unlinked.

  3. The template is checked in Brevo. The integration checks that the template you named exists (BREV-NFND-1004) and is active (BREV-BIZL-1014). The check is made even with Email Sandbox Mode on, so a test cannot pass while real sends would fail.

  4. The once-only check. The integration looks in Brevo's email log for an email already sent for this card, so a transfer that is retried after Brevo accepted the email finds it and links to it instead of sending a second one. The check reads only the last 30 days of the log for the recipient and the template, up to the 100 most recent emails.

  5. The email is sent, tagged with the card's iPaaS.com id, with the card's number, balance, expiry date, recipient name and, when the card's Gift Message custom field has a value, the personal message as the template's values, and any custom field you mapped. When Email Sandbox Mode is On, Brevo only checks it.

  6. The email is linked. Brevo's id for the email becomes the card's external id. When Brevo accepts the email but answers without its id, the transfer stops with BREV-EXTN-1009; iPaaS.com retries it, and the retry finds the email in Brevo's log and links it without sending it again. With Email Sandbox Mode on, Brevo keeps no log of the emails it does not deliver, so the retry sends again, and again nothing is delivered.

  7. A later change to the card sends nothing. An update of a card that is linked makes no call to Brevo.

Activity log of a gift card transfer in Email Sandbox Mode: the Add Brevo Gift Card Email FROM iPaaS.com collection runs, and the log line says the gift card was sent with its Brevo template and that Brevo checked the email and did not deliver it

Mappings

Each Dynamic Formula row refers to the formula of the same destination field, quoted word for word under Dynamic Formulas (verbatim) after the table.

Add Brevo Gift Card Email FROM iPaaS.com

iPaaS.com data type: Gift Card

Description: Emails each new iPaaS.com gift card once to its recipient, using the Brevo email template named in the TemplateId mapping. The card's number, balance and expiry date reach the template as CARD_NUMBER, BALANCE and EXPIRATION_DATE, the recipient's name as RECIPIENT_NAME, and the personal message from the card's Gift Message custom field as MESSAGE.

Mapping Filter

// REPLACE with the gift cards that should be emailed: every card this filter lets through sends a real email from your Brevo template and uses your Brevo plan's credits.
// For example, cards issued from your go-live date that have a recipient email:
// return !string.IsNullOrWhiteSpace(ReceivingCustomerEmail) && PurchaseDate != null && PurchaseDate >= new DateTime(2026, 12, 1);
return false;

Filter Description. The shipped filter lets no gift card through (return false;). Every card the filter lets through sends a real email from your Brevo template and uses your Brevo plan's credits. Replace it with a condition that lets through only the cards to email, as its comments show, for example cards issued from your go-live date that have a recipient email. Leave cards without a recipient out, for example cards sold in a store and printed; a card with no recipient email is refused with BREV-VALD-1025.

Placeholder value — replace during implementation: the filter ships as return false;, so this collection is opt-in. The date in the example comment (1 December 2026) is only an example.

Mapping Type

Source Field (iPaaS.com)

Destination Field (Brevo)

Description

Field

Balance

Balance

Optional. The card's balance when it is emailed, rounded to 2 decimals, sent to the template as BALANCE. It is sent as a number, and Brevo prints the number as it receives it: a balance of 25.50 appears as 25.500000 in the email and a balance of 5 appears as 5. Format the value in your Brevo template to show it the way you want. It is left out when the card has no balance.

Field

Number

CardNumber

Required. The gift card's number, sent to the template as CARD_NUMBER, which is what the recipient uses to redeem the card. It never appears in the Activity Tracker or in Dashboard / Integration Monitoring / Error Logs. A card without a number is refused with BREV-VALD-1026 and nothing is sent.

Field

ExpirationDate

ExpirationDate

Optional. When the card expires, sent to the template as EXPIRATION_DATE as a date alone in year-month-day form, for example 2027-12-31. It is left out when the card has no expiry, and the template then shows an empty value without an error, so write the template text so that it reads well without a date.

Dynamic Formula

Formula GiftCardId (verbatim below the table)

GiftCardId

Required. The gift card's iPaaS.com id. Each email is tagged giftcard- followed by this id, which is how a retried transfer recognizes the email it already sent. Leave the mapping as it is. Without it the card is refused with BREV-VALD-1027 and nothing is sent.

Dynamic Formula

Formula Message (verbatim below the table)

Message

Optional. The personal message for the recipient, read from the iPaaS.com gift card custom field named Gift Message and sent to the template as MESSAGE, for example Happy birthday, Sam! or Congratulations on the new job, from all of us at the office. iPaaS.com gift cards have no message field of their own: create a gift card custom field with exactly that name and fill it on each card that should carry a message, or change the name in the formula to the gift card custom field your store integration fills. It is left out when blank, and the template then shows an empty value without an error. The card's Description is not used.

Field

ReceivingCustomerEmail

RecipientEmail

Required. The email address the gift card is sent to: the card's receiving customer email. It must be one valid address, with no spaces, commas, semicolons or angle brackets. A card with no recipient email, or with several addresses, is refused with BREV-VALD-1025 and nothing is sent; iPaaS.com itself accepts a card with an invalid receiving email, so this check is the integration's. To send each card to its buyer instead, map CustomerEmail here.

Field

ReceivingCustomer

RecipientName

Optional. The recipient's name: the name on the email's To line, and RECIPIENT_NAME in the template. It is left out when blank. Brevo's API reference (2 December 2026) limits a recipient name to 70 characters.

Static

"REPLACE with your Brevo email template id"

TemplateId

Required. The id of the Brevo email template that every gift card is sent with. It is a whole number, for example 12, and is shown on Brevo's email templates page. The template must be an active transactional email template. See the pre-install prerequisite below.

Placeholder value — replace during implementation: the shipped TemplateId value is text that tells you to replace it, not a template id. Replace it with the id of your Brevo email template, for example 12.

Pre-install prerequisite: gift cards are refused without it. An active email template must exist in Brevo before the first gift card is sent. Either (a) create the template in Brevo, make it active, and replace the value of the TemplateId mapping with its id, or (b) replace the value with the id of an existing active template. One of these must be done before the first transfer. Until then every card is refused with BREV-VALD-1023, which begins: "The gift card was not emailed: the gift card collection's TemplateId is blank or still the REPLACE placeholder, so the integration doesn't know which Brevo email template to send." Other values are refused in the same way before anything is sent: a value that is not a whole number above 0 with BREV-VALD-1024, an id Brevo does not have with BREV-NFND-1004, and a template that is not active with BREV-BIZL-1014.

Optional mappings not in the template

  • Custom fields: each custom field you map reaches the template under its own name.

Dynamic Formulas (verbatim)

Formula GiftCardId:

// The gift card's iPaaS.com id: the email is tagged with it, so a retried transfer never emails twice
return Convert.ToString(Id);

Formula Message:

// The personal message for the recipient, from the gift card's custom field Gift Message (left out when blank). The card's Description is not used
return Convert.ToString(GetCustomFieldValue(CustomFields, "Gift Message"));

Error Handling

Errors appear in Dashboard / Integration Monitoring / Error Logs. Each entry below gives the message as it is shown, why it occurs and what to do. The full list of messages is in Brevo Error Messages.

  • The gift card collection's Brevo template is not set (BREV-VALD-1023): The message reads: "The gift card was not emailed: the gift card collection's TemplateId is blank or still the REPLACE placeholder, so the integration doesn't know which Brevo email template to send. In Brevo, open your email templates and note your gift card template's id (the number after # in its name); set it as the TemplateId mapping of the gift card collection, then resend the gift card (iPaaS.com also retries it)." Why it occurs: The default gift card template ships its TemplateId mapping as a placeholder starting with REPLACE, because only you know which Brevo email template is your gift card email. Until it is set, no gift card email is sent, so that no email goes out with the wrong template. Resolution: In Brevo, the subscriber finds the gift card email template's id on Brevo's email templates page (the number after # in the template's name). The subscriber or the MiSP sets it as the value of the TemplateId mapping on the gift card collection, then sends the gift card again or lets iPaaS.com retry it.

  • The gift card collection's TemplateId is not a Brevo template id (BREV-VALD-1024): The message reads: "The gift card was not emailed: the gift card collection's TemplateId "{value}" is not a Brevo template id, which is a whole number such as 12. In Brevo, open your email templates and note your gift card template's id (the number after # in its name); set that number as the TemplateId mapping of the gift card collection, then resend the gift card (iPaaS.com also retries it)." Why it occurs: Brevo identifies an email template by a whole number above 0. The TemplateId mapping holds something else, such as the template's name, a decimal number or 0. Resolution: The subscriber or the MiSP replaces the TemplateId mapping's value with the template's number from Brevo's email templates page (the number after # in the template's name), not its name, then sends the gift card again.

  • The gift card has no valid recipient email (BREV-VALD-1025): The message reads: "The gift card was not emailed: it has no recipient email, or the recipient email is not one valid email address. Give the gift card a valid recipient email in iPaaS.com (or check the RecipientEmail mapping of the gift card collection), then resend it; to leave cards without a recipient out, add that to the collection's filter and dismiss this error." Why it occurs: The email goes to one recipient. The mapped RecipientEmail is blank, holds several addresses or a name, or is not an email address. The address is never quoted in the message. Resolution: The subscriber corrects the gift card's recipient email address in iPaaS.com, or the MiSP corrects the RecipientEmail mapping; then send it again. Cards sold without a recipient (for example printed cards) belong outside the collection's filter: the MiSP adds that to the filter and the error is dismissed.

  • The gift card has no card number (BREV-VALD-1026): The message reads: "The gift card was not emailed: it has no card number, so the email would not carry one. Check that the gift card collection maps CardNumber (the template does) and that the gift card has a number in iPaaS.com, then resend it." Why it occurs: The email's purpose is to give the recipient the card number, and the mapped CardNumber is blank. Resolution: The MiSP checks the CardNumber mapping on the gift card collection (the default template has it), and the subscriber checks the card's number in iPaaS.com; then send the gift card again.

  • The gift card has no iPaaS.com id (BREV-VALD-1027): The message reads: "The gift card was not emailed: it reached the integration without its iPaaS.com id, which marks the email so a retried transfer never sends it twice. Map the gift card's Id to GiftCardId on the gift card collection (the template does), then resend the gift card." Why it occurs: Every gift card email is marked with the gift card's iPaaS.com id. Before sending, the integration looks in Brevo's email log for that mark, so that a retried transfer links the email already sent instead of emailing the recipient a second time. The GiftCardId mapping is missing or blank. Resolution: The MiSP adds the mapping GiftCardId = Id on the gift card collection (the default template has it), then the gift card is sent again.

  • Brevo has no such email template (BREV-NFND-1004): The message reads: "The gift card was not emailed: Brevo has no email template {template id} (the gift card collection's TemplateId). In Brevo, open your email templates and check your gift card template's id (the number after # in its name; a deleted template must be made again); set it as the TemplateId mapping of the gift card collection, then resend the gift card (iPaaS.com also retries it)." Why it occurs: Before sending, the integration checks the template in Brevo, and Brevo has no template with that number: the number is wrong, or the template was deleted. The check is made even with Email Sandbox Mode on, so a test cannot pass while real sends would fail. Nothing is sent. Resolution: The subscriber finds the template's number on Brevo's email templates page (the number after # in the template's name; a deleted template must be created again), and the subscriber or the MiSP corrects the TemplateId mapping; then send the gift card again.

  • The Brevo email template is not active (BREV-BIZL-1014): The message reads: "The gift card was not emailed: Brevo email template {template id} is not active. In Brevo, open your email templates and activate template {template id} (or set the id of an active template as the gift card collection's TemplateId), then resend the gift card (iPaaS.com also retries it)." Why it occurs: The template the TemplateId names is not active in Brevo (new templates stay inactive until they are activated). The integration checks this before sending, even with Email Sandbox Mode on. Nothing is sent. Resolution: The subscriber activates the template on Brevo's email templates page, or the subscriber or the MiSP points TemplateId at an active template; then send the gift card again.

  • Brevo sent the gift card email without its id (BREV-EXTN-1009): The message reads: "Brevo accepted the email for gift card {gift card id} but answered without its message id, so the gift card could not be linked to it. Nothing to do: iPaaS.com retries the transfer, and when the email was delivered, the retry finds it in Brevo's log and links it without sending it again. If the error stays, check the email in Brevo (its transactional email logs) and dismiss the error." Why it occurs: Brevo accepted the gift card email, but its answer did not include the email's id, so the gift card could not be linked to the email yet. The retry looks for the email in Brevo's log and links it without sending it again. With Email Sandbox Mode on, Brevo keeps no log of the emails it does not deliver, so the retry sends again, and again nothing is delivered. Resolution: Usually nothing: the retry links the email. If the error stays, the subscriber checks Brevo's transactional email logs for the recipient and dismisses the error once the email is found. If it repeats, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the time of the error.

  • The Email Sandbox Mode setting is not Off or On (BREV-VALD-1002): The message reads: "The Email Sandbox Mode setting must be Off or On. Choose Off to deliver gift card emails, or On to have Brevo check them without delivering, and save the subscription." Why it occurs: The subscription's Email Sandbox Mode setting holds a value other than Off or On. This setting decides whether gift card emails are really delivered, so the integration does not guess. iPaaS.com refuses to save any other value on the subscription page, so you are unlikely to see this error. Resolution: The subscriber or the MiSP sets Email Sandbox Mode to Off (deliver gift card emails) or On (Brevo checks them without delivering) and saves the subscription. The next transfer uses it.

  • Brevo answered with an error (BREV-EXTN-1001): The message reads: "Brevo answered {action} with HTTP {status} ({status name}){: Brevo's error code}. Correct what Brevo's answer names (the record or its mapping; for not_enough_credits, add credits or change plan in Brevo), then retry the transfer; a temporary Brevo fault clears on iPaaS.com's own retry." Why it occurs: Brevo refused or failed a request for a reason that has no code of its own in this article. The most common reasons are a value Brevo does not accept (Brevo's error code invalid_parameter or missing_parameter), a record Brevo did not find, or Brevo being unavailable for a while. Only Brevo's short error code is quoted, because Brevo's full answer can repeat the record's data. Resolution: Read Brevo's error code in the message. For invalid_parameter or missing_parameter, the subscriber or the MiSP corrects the record in iPaaS.com, or the collection's mapping that gives the value, then retries the transfer. For not_enough_credits (HTTP 402), the Brevo account has run out of credits: the subscriber adds credits or changes plan in Brevo, then retries the transfer. When Brevo was unavailable, there is nothing to do: iPaaS.com retries the transfer. If the error repeats with no clear cause, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • Brevo rate limit reached (BREV-EXTN-1002): The message reads: "Brevo's rate limit was reached (HTTP 429): too many calls to Brevo in a short time. iPaaS.com retries the transfer by itself; nothing to do unless this error stays for more than an hour." Why it occurs: Too many requests reached Brevo in a short time. Brevo asked the integration to wait. iPaaS.com holds the transfer until Brevo's limit resets (measured by iPaaS.com: about a second for contacts, and up to about an hour for product and category reads) and then runs it. Resolution: Usually nothing: the transfer runs once the limit resets. If it happens often, the MiSP can lower the subscription's API Throttle Limit or Concurrent Connections setting (iPaaS.com settings on the subscription, described in Brevo Connections and Settings), or spread out scheduled work that uses the same Brevo account. If this error stays for more than an hour, contact your Managed Integration Service Provider (MiSP), or iPaaS.com Support at support@ipaas.com, with the transfer's reference id.

  • Operation Brevo cannot do (BREV-BIZL-1002): The message reads: "Brevo does not support {operation} for {data type}: {reason}. {what to do}" Why it occurs: A mapping collection asks Brevo for something it has no way to do. The message names the operation, the reason and what to do. For example: deleting an order (Brevo keeps orders as history), deleting a gift card (Brevo keeps only the email already sent), reading changes of products, product variants, product categories, orders or gift cards from Brevo (these travel only FROM iPaaS.com), or sending an order's lines, addresses, taxes, discounts or notes on their own (they travel inside their order). The template has no Delete mapping collection for orders or gift cards: with the template as shipped, deleting one in iPaaS.com sends nothing and raises no error; for a delete, this error appears only after such a collection is added. Resolution: The subscriber or the MiSP does what the message says: for example, send an order with a cancelled status instead of deleting it, remove the transaction or gift card Delete mapping collection, remove the collection that reads from Brevo, or transfer the whole order instead of one of its parts. Then dismiss the error: until the cause is removed, iPaaS.com retries the transfer and the error comes back.

  • The type moves FROM iPaaS.com only (BREV-BIZL-1020): The message reads: "Brevo does not send {type} TO iPaaS.com: it moves FROM iPaaS.com only, so nothing was written. Remove or turn off the mapping collection that brings it TO iPaaS.com." Why it occurs: A mapping collection brings a type TO iPaaS.com that Brevo only receives (products, variants, categories, orders and their parts, gift card emails). Brevo is never their source, so the integration refuses the transfer after reading the Brevo record and before any mapping, and nothing is written to iPaaS.com. Resolution: In iPaaS.com, open your Brevo subscription's mapping collections and find the collection for that type whose direction is TO iPaaS.com. Replace its filter with return false; and save, so that no record passes it, then dismiss the error. Brevo sends only contacts TO iPaaS.com.

Validation Rules

  • TemplateId: a whole number above 0 that names an active Brevo email template (BREV-VALD-1023, BREV-VALD-1024, BREV-NFND-1004, BREV-BIZL-1014).

  • RecipientEmail: one valid email address (BREV-VALD-1025).

  • CardNumber and GiftCardId: required (BREV-VALD-1026, BREV-VALD-1027).

  • Email Sandbox Mode: Off or On (BREV-VALD-1002).

  • Every check runs before the email is sent, so a refused card is not emailed.

Testing & Validation

Test Scenarios

  1. Replace the TemplateId mapping with the id of an active Brevo template, replace the filter with a condition that lets your test card through, turn on giftcard/created, and set Email Sandbox Mode to On. Wait a few minutes. Create a gift card with a recipient email, a number, a balance and an expiry date. Verify that the transfer completes, that its log says Brevo checked the email and did not deliver it, and that the card is linked.

  2. Set Email Sandbox Mode to Off and create another card for a recipient you control. Give the card a value in its Gift Message custom field, for example Happy birthday, Sam!. Verify that the email arrives, built from the template, with the card number, the balance, the expiry date, the recipient name and the message.

  3. Change the card's balance or recipient. Verify that nothing is sent and no error appears. Then create a new card and verify that it is emailed.

  4. Create a card with no recipient email. Verify that it is refused with BREV-VALD-1025 and nothing is sent.

  5. Put a template id Brevo does not have in TemplateId, then the id of an inactive template. Verify BREV-NFND-1004 and BREV-BIZL-1014; restore the right id and verify that the card then sends.

  6. Put the placeholder text back in TemplateId. Verify that a card is refused with BREV-VALD-1023.

  7. Run a Manual Sync with the gift card id, using the documented ID format, on a card that has not been emailed. Verify that it is emailed.

  8. Create a card that your filter leaves out. Verify that nothing is sent and no error appears.

  9. With Email Sandbox Mode On, create two cards that differ only in the Gift Message custom field, one with a message and one without, both with a Description. Verify that both transfers complete and that the card with the message sends one more value to the template than the card without (the transfer log gives the count): the message is sent, the Description is not.

Validation Checklist

  • A Brevo email template exists, is active, and is in Brevo's New Template Language format.

  • The TemplateId mapping holds the template's id, not the placeholder text.

  • The collection's filter lets through only the cards to email.

  • The giftcard/created event is turned on under Outbound Data Flows, and the delete event is not.

  • The sender domain is authenticated in Brevo.

  • Email Sandbox Mode is Off in production, and the template formats BALANCE the way you want.

  • The gift card custom field Gift Message exists when cards should carry a personal message, and the template reads well for a card without one.

  • Your Brevo plan has the sending allowance for the cards the filter lets through.

Additional Notes

  • Not handled: the email's subject, sender, reply-to, body, schedule and tracking options, extra recipients, cc, bcc and attachments are the template's or are not handled. Brevo keeps no gift card, so a card's balance or later changes are not sent.

  • Gift cards move only FROM iPaaS.com. A mapping collection that brings gift card emails TO iPaaS.com is refused with BREV-BIZL-1020.

  • Known behaviors of the integration are listed in Brevo Known Limitations.

Related Documents

External References

Did this answer your question?