Skip to main content
The Call Webhook action lets you integrate email processing with other services. When a rule triggers, Inbox Zero sends the email data to your specified endpoint.

Configuration

  • Method: POST
  • Content-Type: application/json
  • Headers: Always includes X-Webhook-Secret (empty string if no secret is configured in settings)

Payload

{
  email: {
    threadId: string;      // The thread ID (Gmail or Outlook)
    messageId: string;     // The message ID (Gmail or Outlook)
    subject: string;       // Email subject
    from: string;         // Sender's email address
    cc?: string;          // CC recipients (if any)
    bcc?: string;         // BCC recipients (if any)
    headerMessageId: string; // Original message ID header
  },
  executedRule: {
    id: string;           // Execution ID
    ruleId: string | null; // Rule that triggered this webhook (null if rule was deleted)
    reason: string | null; // Why this rule was executed
    automated: boolean;   // Whether the rule ran automatically
    createdAt: string;    // When the rule was executed
  }
}
Set up a webhook secret in settings to secure your endpoints. The secret is included in the X-Webhook-Secret header of every request.