How to Connect Unisender to the ASI Biont AI Agent: Automating Email Marketing via API

Introduction

Email marketing remains one of the most effective communication channels: according to a DMA study (2023), every ruble spent on email generates an average of 36 rubles in revenue. But manually managing campaigns takes hours: segmentation, writing personalized emails, setting up triggers, and analyzing results. Unisender, a popular Russian service for email and SMS campaigns, solves some of these tasks but requires constant oversight.

Integrating ASI Biont with Unisender via API turns this process into a fully automated one. The AI agent itself writes the connection code, configures scenarios, and adapts to your business. In this article, I'll show you how to set up a combination in 15 minutes that will save you up to 10 hours a week, and I'll break down real-world cases.

What is ASI Biont and How Does It Connect to Unisender

ASI Biont is an AI agent that handles complex business tasks: from content generation to integration with external services. Unlike regular newsletter builders, it doesn't require technical skills from you. You simply give a command in natural language, and the AI itself writes code to work with the Unisender API.

How It Works in Practice

  1. Get your Unisender API key. Log into your Unisender account → "Settings" → "API keys." Copy the key (usually a string like abc123def456).
  2. Pass the key to ASI Biont in the chat. For example, write: "Connect my Unisender account. Here's the API key: abc123def456. Set up automatic sending of welcome emails to new subscribers."
  3. The AI agent writes the integration code itself. ASI Biont analyzes the Unisender API documentation (available at https://www.unisender.com/ru/support/api/), generates a script in Python or JavaScript, tests the connection, and runs the scenario.

No control panels or "add integration" buttons—everything happens through dialogue. This is the key difference: you can connect any service with an API (CRM, messengers, analytics) without waiting for developers to add support.

What Tasks Does This Integration Automate

Unisender provides an API for managing lists, sending emails, and getting statistics. ASI Biont uses these methods for four key scenarios:

1. Personalizing Emails Based on Your CRM Data

Problem: You spend hours creating emails with name greetings and purchase history. Unisender supports personalization through variables (e.g., {Name}), but they need to be filled in manually.

Solution with ASI Biont: The AI agent automatically exports data from your CRM (e.g., from Google Sheets or 1C), analyzes it, and inserts it into Unisender templates. Example:

  • You say: "Create an email for customers who haven't purchased in 30 days. Offer a 10% discount on their favorite category."
  • ASI Biont generates an HTML template, uses the Unisender API to create a campaign, and launches the mailing to the segment.

Result: Open rates increase by 20–40% (HubSpot data, 2022), and you don't waste time on routine.

2. Audience Segmentation Without Manual Work

Unisender allows you to create segments by filters (opens, clicks, geo), but setup takes time. ASI Biont does it in seconds:

  • Request: "Divide subscribers into three groups: active (opened an email in 7 days), dormant (not opened in 60 days), and VIP (made 3+ purchases)."
  • The AI agent creates three lists via the Unisender API (createList), adds contacts based on specified conditions, and prepares a separate strategy for each group.

3. Real-Time Triggered Emails

Unisender supports transactional emails (e.g., order confirmation), but setting up triggers requires scripts. ASI Biont takes this on:

  • Scenario: User registers on the site → ASI Biont via Unisender API sends a welcome email after 5 minutes, and after 3 days, a series with useful materials.
  • Code: The AI generates a webhook that listens for events (e.g., from a WordPress form) and calls sendEmail with the necessary parameters.

Real-world case: The online store "SvetTech" (Moscow) set up a trigger for abandoned carts. ASI Biont integrated Unisender with their CMS and sent a reminder email 1 hour after leaving the site. Result in one month: 15% of abandoned carts recovered, generating an additional 120,000 rubles in revenue.

4. Analytics and A/B Testing

Unisender provides statistics on opens, clicks, and unsubscribes. ASI Biont can analyze this data and suggest improvements:

  • Request: "Analyze the results of the last mailing and suggest how to improve CTR."
  • The AI agent exports the report via API (getCampaignStats), compares it with previous campaigns, and gives recommendations (e.g., "change the email subject to something more specific").
  • You can also automatically run A/B tests: ASI Biont creates two email variants, sends them to 20% of the audience, and after 24 hours selects the winner for the rest.

Step-by-Step Example: How to Set Up a Welcome Series in 10 Minutes

Suppose you want to send three emails to new subscribers: a welcome, a useful guide, and a purchase offer. Here's how it looks with ASI Biont:

  1. Prepare the content (or ask the AI to generate it).
  2. Give the command in the chat: "Connect Unisender with key [your key]. Create three emails for a welcome series: first—with thanks, second—link to a guide, third—15% discount. Send them at 2-day intervals. Use the Unisender API to create campaigns and lists."
  3. The AI agent executes:
  4. Creates a list "New subscribers" via createList.
  5. Creates three campaigns via createCampaign.
  6. Sets a trigger: when a contact is added to the list, the chain starts.
  7. Check and launch. ASI Biont will show you the code and offer to test it on a test email.

Why This Is Beneficial

Metric Without Integration With ASI Biont + Unisender
Time to set up segmentation 1–2 hours 5 minutes
Creating a personalized email 30–60 minutes 2–3 minutes
Launching an A/B test 1 hour 10 minutes
Analyzing results 30 minutes Automatically

Savings: If you do 5 mailings per week, the integration will save you about 8–10 hours. In a month, that's up to 40 hours—almost a full work week.

How to Get Started

  1. Register for ASI Biont at asibiont.com.
  2. Get your Unisender API key from your service account.
  3. Write in the chat with the AI agent: "Connect Unisender. Here's my key: [your key]. Set up [describe your task]."
  4. The AI agent will write and execute the integration code itself. You can request changes or new scenarios at any time.

Conclusion

Integrating ASI Biont with Unisender is not just about automating mailings—it's a full-fledged AI assistant that takes over routine tasks and frees up time for strategy. Personalization, segmentation, triggers, and analytics work without your involvement. And most importantly, you're not tied to a single service: ASI Biont connects to any API, be it AmoCRM, Telegram, or Google Analytics.

Try it yourself: go to asibiont.com and give the AI agent your first command. You'll see how email marketing stops being a chore.

← All posts

Comments