Integrations / Tilda
Sendersy + Tilda
Tilda + Sendersy: catch form submits via Tilda webhook and relay them to /v1/emails through your own proxy endpoint.
1. Install
bash
# Tilda → your site → Site Settings → Forms → Custom webhook URL
2. Environment variables
bash
# Tilda has no built-in secret store, so keep the API key # in your own proxy endpoint (Cloudflare Worker or Next.js API route).
3. Send an email
ts
// A minimal proxy endpoint (Next.js / Vercel Edge).
// Paste this endpoint's URL into Tilda → Forms → Custom webhook URL.
export async function POST(req: Request) {
const form = await req.formData()
const email = String(form.get('Email') ?? form.get('email') ?? '')
const name = String(form.get('Name') ?? form.get('name') ?? '')
if (!email) return new Response('Email required', { status: 400 })
await fetch('https://api.sendersy.com/v1/emails', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.SENDERSY_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
from: 'Tilda site <noreply@yourdomain.com>',
to: email,
subject: 'Thanks for your submission!',
html: `<p>Hi ${name}! We received your form and will reply within a day.</p>`,
tags: [{ name: 'source', value: 'tilda' }],
}),
})
// Tilda expects 200, otherwise the user sees an error.
return new Response('OK')
}