Skip to Content
AutomationAutomating Emails with Airtable

⚙️ Automating Emails with Airtable

BaseMailer allows you to send emails automatically based on triggers from your Airtable base — such as when a record enters a view, is updated, or created.

This is perfect for sending:

  • Welcome emails
  • Follow-ups
  • Reminders
  • Any email based on Airtable activity

🎯 How It Works

You create the automation inside BaseMailer, and it gives you a script.
Paste this script into Airtable’s “Run a script” action block.
Whenever your Airtable trigger runs, BaseMailer sends the selected email to the record.


🎥 Watch the Tutorial


✅ Step-by-Step Setup

🔧 Step 1: Create an Automation in BaseMailer

  1. Go to the Automation tab in BaseMailer
  2. Click + New Automation
  3. Fill in the required fields:
    • Automation Name — e.g. “Welcome Email”
    • Table — your Airtable table name
    • Email Template — choose an existing email template
    • Sender Account — pick a verified Gmail, Outlook, or SMTP account
    • Email Column — choose which column holds the recipient’s email

Create Automation Screen

  1. Click Create Automation
    You’ll now see a code snippet like this:
const response = await fetch("https://your-automation-url-here", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ record: input.config().record }) });

📋 Note: This is just a sample. You’ll receive your actual automation URL from BaseMailer when you set up your automation. Make sure to copy and paste your own code from the BaseMailer popup.


🤖 Step 2: Set Up Airtable Automation

💡 We recommend watching the short video to see it in action.

  1. Copy the code
  2. Open your Airtable base and go to Automations
  3. Click + Create an automation
  4. Choose a trigger Example: “When record enters a view” or “When field is updated”
  5. Add an action → Select “Run a script”
  6. Paste the BaseMailer code into the script editor

📥 Step 3: Add Input Variable

  1. Click + Add Input Variable
  2. Name it record
  3. Set the value as the Record ID from the trigger

✅ Final Step: Test and Turn On

  • Click Test to verify the script
  • Click Finish Editing
  • Turn your automation ON

Done! 🎉
BaseMailer will now automatically send your email whenever the trigger runs.


💡 Tips

  • You can set up multiple automations for different tables or templates.
  • Each automation has its own script — copy the correct one!
  • You can edit or pause automations anytime in the Automation tab.

❓Need Help?

Email us at support@basemailer.app
Or check out our other docs.

Last updated on