Form Builder Guide

Build custom forms for collecting leads, subscriptions, and customer information. Forms can be embedded on your website and automatically sync with your contact database.

Creating Forms

Use the visual form builder in your dashboard or create forms programmatically via the API.

create-form.tsTypeScript
1
2
3
4
5
6
7
8
9
10
11
// Create a form via API
const form = await metigan.forms.create({
  name: 'Newsletter Signup',
  fields: [
    { name: 'email', type: 'email', required: true },
    { name: 'firstName', type: 'text', required: false }
  ]
});

// Get embed code
console.log('Embed code:', form.embedCode);
Auto-Sync

Configure forms to automatically add submissions to specific audiences. This streamlines your lead collection and contact management workflow.