Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / KI-Agenten & Assistenten

KI-Agenten & Assistenten

Reply to support emails in-thread with SendRaven and OpenAI

When an API call/webhook arrives, it runs an AI agent with OpenAI / ChatGPT.

Was sie bewirkt

## Reply to support emails in the same thread with an AI agent A customer emails your support address. The agent reads the whole conversation and answers in the same email thread from your own domain, or leaves it for a person. ### How it works 1. SendRaven posts each received email to the webhook, signed with HMAC-SHA256. 2. The signature and timestamp are checked, the webhook is answered at once, and retries already processed are dropped. 3. Auto-replies such as out-of-office are skipped. 4. The full thread is loaded, so the agent sees earlier messages too. 5. The agent chooses reply, no reply needed (thread marked handled) or escalate (it stays in your unanswered list). 6. The reply is threaded with reply_to_message_id. Its Idempotency-Key comes from the received email, so a retry never sends it twice. ### Setup 1. Sign up at sendraven.ai and verify a domain, including the inbound MX record shown under Receiving replies. 2. Create an API key with emails:send and threads:read, ticking Hold every send for human approval while testing. Save it as a Bearer Auth credential. 3. Activate the workflow. In SendRaven, add the webhook's production URL under Webhooks, for inbound. 4. Paste the signing secret, whsec_ included, into a Crypto credential on *Compute expected signature*. 5. Add your OpenAI credential and fill in *Settings*. ### Customization tips Connect *Escalate to a person* to Slack or your helpdesk. Drop the approval hold once the drafts look right.

Die Schritte

  1. SendRaven webhook
  2. Read raw body
  3. Compute expected signature
  4. Signature valid?
  5. Reject (401)
  6. Acknowledge (200)
  7. Skip webhook retries
  8. Inbound email
  9. Needs an answer?
  10. Settings
  11. Get thread
  12. Support agent
  13. OpenAI Chat Model
  14. Decision format

Insgesamt 18 Schritte.

Ähnliche Automatisierungen