Skip to main content
The gate goes after your AI step and before the send step:

Import the workflow

  1. Download datavibe-pre-send-gate.workflow.json.
  2. In n8n, open Workflows → Import from file and choose the file.
  3. Set DATAVIBE_API_KEY as an environment variable on your n8n instance. Create a key at app.datavibe.cc/security/api-keys.
  4. 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.
  5. Replace the three placeholder outputs with your send, hold, and log steps.
Do not paste the API key into the HTTP node. Read it from the environment so it never ends up in an exported workflow.

What the gate node sends

Passing 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, call POST 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.
Last modified on October 26, 2026