Skip to main content

API Key Authentication

BonData connects to SendGrid using an API key for secure email sending.

Step 1: Create an API Key

  1. Go to SendGrid Dashboard
  2. Navigate to SettingsAPI Keys
  3. Click Create API Key
  4. Give it a name (e.g., BonData Integration)
  5. Select Restricted Access and enable:
    • Mail Send → Full Access
  6. Click Create & View
  7. Copy the API key immediately (it won’t be shown again)

Step 2: Connect in BonData

  1. In BonData, navigate to Integrations and select SendGrid
  2. Enter your API Key
  3. Click Connect

Required Fields

FieldDescription
API KeySendGrid API key with Mail Send permissions
Make sure your SendGrid account has verified sender identities configured before sending emails.

Using SendGrid in Playbooks

Once connected, you can use SendGrid in your playbooks to send automated emails.

Send Email Node

Add a Send Email node to your playbook:
  • Subject - Email subject line
  • Message Template - Email body content
  • To Emails - Recipient addresses (can use {{email_field}})
  • From Email - Sender address (must be verified in SendGrid)
  • CC/BCC - Optional copy recipients

Message Templating

Use {{field_name}} syntax to include dynamic data:
Hi {{customer_name}},

Your order #{{order_number}} has been confirmed.

Total: ${{total_amount}}

Capabilities

  • Send plain text or HTML emails
  • Dynamic recipient addresses from workflow data
  • CC and BCC support
  • Templated subject lines and body content
  • Bulk email sending with personalization