Stripe + Brevo Integration

Stripe + Brevo Integration

Tajo เชื่อมต่อ Stripe payment events กับ Brevo marketing automation เปิดใช้งานแคมเปญที่ปรับแต่งเองตาม payment behavior

สิ่งที่ซิงค์

Stripe EventBrevo Actionคำอธิบาย
payment_intent.succeededBrevo event + emailเปิดใช้งาน post-purchase flow
customer.subscription.createdContact updateเพิ่ม subscription status
customer.subscription.deletedBrevo eventเปิดใช้งาน churn flow
customer.createdContact creationซิงค์ new customer

การตั้งค่า

const webhook = await stripe.webhookEndpoints.create({
url: "https://api.tajo.io/stripe/webhooks",
enabled_events: [
"payment_intent.succeeded",
"customer.subscription.created",
"customer.created",
],
});

Post-Purchase Sequence

const postPurchaseWorkflow = {
trigger: "payment_intent.succeeded",
steps: [
{ delay: "0m", action: "brevo/send-email", template: 301 },
{ delay: "3d", action: "brevo/send-email", template: 302 },
{ delay: "30d", condition: "no_repeat_purchase", action: "brevo/send-email", template: 303 }
]
};

ขั้นตอนถัดไป

ผู้ช่วย AI

สวัสดี! ถามฉันเกี่ยวกับเอกสารได้เลย

เริ่มต้นฟรีกับ Brevo