Email Order Capture

ai

Έκδοση manifest: 1.0.0


Επισκόπηση

AI-powered order capture from email messages. Requires your own OpenRouter API key.

Οδηγός εγκατάστασης
1. Get an OpenRouter API key at openrouter.ai/keys and paste it into "OpenRouter API Key" below. 2. Choose a random string for "Webhook Secret" below (anything works, just keep it private) — your forwarding rule must send it back on every request. 3. In Cloudflare (or any provider with Email Routing), create a destination address like [email protected] and route it to a Worker instead of a mailbox. 4. In the Worker, POST the incoming email to the webhook URL shown above, with an X-Webhook-Secret header carrying the value from step 2. Example:
export default {
  async email(message, env) {
    const text = await new Response(message.raw).text();
    await fetch("YOUR_WEBHOOK_URL", {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        "X-Webhook-Secret": env.WEBHOOK_SECRET,
      },
      body: JSON.stringify({
        from: message.from,
        to: message.to,
        subject: message.headers.get("subject") ?? "",
        text,
      }),
    });
  },
};
5. Any other forwarder that can POST JSON with a custom header works the same way — Cloudflare Workers is just the simplest free option.
Δυνατότητες

worker

Ξεκινήστε με το Email Order Capture

Είστε έτοιμοι να προσθέσετε αυτήν την ενσωμάτωση στο κατάστημά σας Webito; Ενεργοποιήστε την αμέσως από τον πίνακα ελέγχου σας.

Ξεκινήστε