CRM / Bitrix24 Integrations Marketing Automation Education

Amazon SES – Bitrix24 Integration

Amazon SES bounce  messages handling in Bitrix24.

Client
Educational institution
Industry
Education
Timeline
1 week

About the Client


Our client, an educational institution based in the UAE, uses Bitrix24 On-Premise as its CRM and Amazon Simple Email Service (SES) to send marketing campaigns, subscription newsletters, and business notifications.

Amazon SES is a cost-effective solution for high-volume email delivery without a dedicated SMTP server. However, unlike traditional SMTP servers that return email bounce reports directly to the sender via email, Amazon SES delivers bounce notifications via an API endpoint.

Project Goal


We needed to integrate the Amazon SES Bounce API with Bitrix24 On-Premise to capture bounce data, analyze failure reasons, and automatically block future sends to invalid email addresses or spam traps.

An added complexity was that Bitrix24 utilizes two distinct subscription-sending modules alongside a separate engine for manual and workflow-triggered emails.

The Solution


In the first stage, we created a custom Amazon API endpoint within Bitrix24 to receive real-time bounce data. The endpoint parses error codes and filters out critical delivery failures, specifically processing "no such user" and spam-related errors.

In the second stage, we developed functionality that identifies subscriptions containing the bounced email and executes an opt-out across both subscription modules. If the bounced email belongs to a Company or Contact, it is removed to prevent future sends, and a detailed bounce log is added to the entity’s timeline.

Additionally, the system checks whether the Company or Contact is involved in any active marketing or sales SPA (Smart Process Automation); if so, those SPAs are closed with a FAIL status and updated with a timeline note.

Key Results & Impact


After 3 months of using this functionality, all old and erroneous emails were purged from subscriptions and workflows, decreasing the domain spam score by 3 points and boosting overall email deliverability by over 20%.

Want results like these?

Tell us about your project — we'll reply within a business day.