brevo-integration

Send template-based transactional emails via Brevo API from Next.js and Supabase Edge Functions.

Updated Aug 29, 2023
One-click install
npx skills add https://github.com/SaschaLeh/dotfiles --skill brevo-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brevo-integration
Source: https://github.com/SaschaLeh/dotfiles/tree/main/dot_claude/skills/brevo-integration
Command: npx skills add https://github.com/SaschaLeh/dotfiles --skill brevo-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Brevo integration solves the pain of setting up and maintaining transactional emails in Next.js apps and Supabase Edge Functions by providing templated emails, API authentication, and a provider-agnostic pattern.

Core Features & Use Cases

  • Template-driven transactional emails via Brevo REST API
  • API key management and secure storage in env vars
  • Server actions and edge function adapters for seamless usage
  • Practical workflows for user notifications, order confirmations, and alerts

Quick Start

Configure your Brevo API key in the environment and call the email service with a template ID and recipients.

Frequently Asked Questions about brevo-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send transactional emails in Next.js using Brevo templates?

To send transactional emails in Next.js, this integration uses the Brevo REST API with template IDs and recipient data. You configure your Brevo API key in environment variables and call the email service from server actions or edge functions to dispatch template-based messages.

Can I use Brevo transactional emails in Supabase Edge Functions?

Yes, Brevo transactional emails work in Supabase Edge Functions. The integration provides specific edge function adapters that handle API authentication and email dispatch, allowing you to send template-based notifications directly from your Supabase backend.

What is the best way to manage Brevo API keys for transactional emails?

The best way to manage Brevo API keys is by storing them securely in environment variables. This integration handles API key management by referencing these environment variables, ensuring your credentials remain protected while sending transactional emails.

Does Brevo integration work with server actions for sending order confirmations?

Yes, Brevo integration works with Next.js server actions for sending order confirmations. It includes practical workflows and adapters for user notifications and alerts, applying provider-agnostic patterns to ensure reliable template-based email delivery.

Why are my Brevo transactional emails failing in my Next.js application?

Brevo transactional emails typically fail due to missing API keys, incorrect environment variable configuration, or invalid template IDs. This integration includes error handling to manage these dispatch failures and ensure reliable API communication when sending emails.