LCA Orders

Order builder embedded inside Chatwoot conversations. Creates Medusa draft orders and posts Fiuu payment links back into the thread.

Setup

  1. Create a Dashboard App in Chatwoot: Settings → Integrations → Dashboard apps.
  2. Name it "Orders" and point it at /embed on this deployment.
  3. Set CHATWOOT_ALLOWED_ORIGINS to your Chatwoot origin so the frame and the postMessage check both pass.
  4. Fill the Medusa and Chatwoot credentials in the environment.
  5. Open any conversation and use the Orders tab.

Health

Check /api/health for configured integrations.

The embed lives at /embed. It renders a waiting state until Chatwoot sends the conversation context.