Resend Provider

ResendProvider is a class that implements the Resend API and allows email sending through Keep.

Authentication

This provider requires authentication.

  • api_key: Resend API key (required: True, sensitive: True)

In workflows

This provider can be used in workflows.

As “action” to make changes or update data, example:

actions:
    - name: Query resend
      provider: resend
      config: "{{ provider.my_provider_name }}"
      with:
        _from: {value}  # From email address
        to: {value}  # To email address
        subject: {value}  # Email subject
        html: {value}  # Email body

Check the following workflow example:

Connecting with the Provider

To connect with the Resend provider and send emails through Keep, follow these steps:

  1. Obtain a Resend API key: Visit Resend API Keys to obtain an API key if you don’t have one already.
  2. Configure the Resend provider in your system with the obtained API key.
  3. Use the following YAML example to send an email notification using the Resend provider:
title=examples/alert_example.yml
# Send an email notification using the Resend provider.
alert:
  id: email-notification
  description: Send an email notification using Resend
  actions:
    - name: send-email
      provider:
        type: resend
        config: "{{ providers.resend-provider }}"
        with:
          _from: "[email protected]"
          to: "[email protected]"
          subject: "Hello from Resend Provider"
          html: "<p>This is the email body.</p>"