ONLINE
Deliverability Letter

Connect Python to Bento

Connect Python to Bento

Use the official Bento Python SDK to send events and user updates from Django, Flask, or serverless tasks. Orchestrate Flows for onboarding, newsletters, and transactional messages without extra tools.
Bento Logo

Fast Setup • Easy Cancellation • 30 Day Free Trial

Ready to dive deeper?

Explore our comprehensive Python Sdk integration documentation and examples to get the most out of your automation.

Everything you need to ship fast

Type‑hinted client

first‑class developer experience

Events & purchases

segment and trigger Flows instantly

Broadcasts & transactional

newsletters and receipts from one place

Framework‑friendly

Django/Flask, Celery, async, serverless

Your Python app is already tracking users. Now turn that data into revenue.

Every signup, purchase, and interaction can trigger personalized campaigns that keep customers engaged and drive repeat business. The Bento Python SDK makes it happen with Pythonic, reliable integration.

5 minutes

to first automation

Zero config

visual automation builder

Real Results

higher customer lifetime value

Built for Python developers who demand reliability

PyPI Package Ready

Install via pip/pipenv, works with virtual environments and dependency management.

Real-time Event Capture

Stream events directly into Bento with async/await patterns and background tasks.

Type Hints Included

Built with full type annotations for better IDE support and developer experience.

Async & Celery Support

Works with async frameworks, Celery workers, and serverless deployments.

Everything you need for Python email marketing and automation

Type‑hinted client

first‑class developer experience

Events & purchases

segment and trigger Flows instantly

Broadcasts & transactional

newsletters and receipts from one place

Framework‑friendly

Django/Flask, Celery, async, serverless

pip install bento-sdk

Get up and running with our official Python SDK in seconds. Full type hints and comprehensive documentation included.

Track custom events

Send custom events like user_signed_up, order_completed, page_viewed with Python dictionaries and objects.

Bento SDK integrates with your Python stack

Works beautifully with the frameworks and platforms you're already using in your Python applications.

Django

Perfect for Django applications

Flask

Seamless Flask integration

FastAPI

FastAPI async support

Celery

Background task integration

Get started in 3 simple steps

1

Install

pip install bento-sdk

Add the official SDK or connect the integration.

2

Configure

BENTO_API_KEY=... BENTO_SITE_UUID=...

Add your keys and basic settings.

3

Send your first event

client.track( event='user_signed_up', email='user@example.com')

Trigger a Flow and see it live.

Real ways teams use this

Onboarding

Trigger welcome series when a user signs up from your app.

event: user_signed_up → welcome sequence

E‑commerce

Track order_completed and start post‑purchase drips.

event: order_completed → post‑purchase series

Churn

Catch subscription_canceled and send win‑back offers.

event: subscription_canceled → win‑back

Content

Weekly newsletters to segments from your database.

broadcast: weekly_newsletter → segment: engaged_readers

Tired of your current email provider?

We'll help you move from
Klaviyo
to Bento.
No hassle. No surprises. Just better email.

Frequently Asked Questions

How do I install the Python SDK?

Install via your package manager (e.g., pip). Add your API key/site UUID and import the client.

Does it support async tasks?

Yes. Works in background workers (Celery/RQ) and async contexts.

Is there type support?

Type hints are included for a better DX.