Import the workflow
- Download datavibe-pre-send-gate.workflow.json.
- In n8n, open Workflows → Import from file and choose the file.
- Set
DATAVIBE_API_KEYas an environment variable on your n8n instance. Create a key at app.datavibe.cc/security/api-keys. - Replace the sample trigger and “Contact + AI draft” node with your own. Keep the field names
(
email,subject,generated_opener,first_name,company,role,contact_id,draft_version) or edit the gate node body to match. - Replace the three placeholder outputs with your send, hold, and log steps.
What the gate node sends
recipient_first_name, company, and role turns on the wrong-name, wrong-company, and
wrong-role checks.
Branches
Retrying with the same
idempotency_key returns the original action_id and is not billed twice.
WhatsApp, SMS, and other channels
For non-email sends, callPOST https://api.datavibe.cc/v2/gate/outbound with channel
(whatsapp, sms, telegram, linkedin, or slack), recipient, and body_text. subject
and body_html are only needed for email.