Inbox Drop ingress that receives a parsed inbound email payload from a provider-specific adapter (today: the sendgrid-inbound service). The api evaluates which workflows’ InboxDropTrigger nodes match the email’s subject/from filters and enqueues one BullMQ job per match. Auth is the shared INTERNAL_SERVICE_TOKEN via the X-Internal-Token header — NOT user auth. Adapter services hold this token; external callers must not hit this endpoint directly. Returns 202 with matchedCount so the caller can decide whether to fall back to a non-workflow path when no workflow matched.
Documentation Index
Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
Use this file to discover all available pages before exploring further.
Internal-service request body sent by inbound-email adapters (SendGrid, etc.) to fan out to matching workflows.
Parsed inbound email payload produced by a provider adapter (e.g. SendGrid Inbound Parse).
{
"from": "alex.nguyen@example.com",
"to": "inbound+org-64a1b@inbound.tetherai.ca",
"subject": "Maple Court availability",
"body": "Hi — could you confirm the corner unit is still listed for next month?",
"bodyHtml": "<p>Hi — could you confirm the corner unit is still listed for next month?</p>",
"headers": { "Message-ID": "<abc123@mail.example.com>" },
"attachments": []
}Optional. Falls back to the workflow's owning user when missing.