Maciek 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
..
README.md 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
get_car_data.json 59a6e501b4 Wielojęzykowość poprawna - system gotowy do głębszych testów i edge case il y a 6 mois
get_order_data.json 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
get_payment_methods.json 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
get_product_compatibility.json 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
get_product_data.json 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
get_shipping_data.json 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines
new_ticket.json 7fe0ea23e8 Rewrite EKSRelay as a Node.js/TypeScript service il y a 4 semaines

README.md

Flowise custom tools

Live exports of the custom tools configured in Flowise (https://botek.easyklima.com, chatflow 09fc9332-8cdd-4142-8f0e-4259881fc7bf).

Kept in the repo so the relay's response contracts and the tool code can be reviewed together. Changing a /tools/* response shape means updating the matching tool here and in Flowise.

File Relay endpoint Notes
get_order_data.json POST /tools/get_order_data Reads contact_email: out of the [CONTACT_INFO] block the relay prepends to question. Relies on code:"UNAUTHORIZED" to drive its e-mail-mismatch retry prompt.
get_product_data.json POST /tools/get_product_data Handles both a single object and an array; filters kits vs single products.
get_shipping_data.json POST /tools/get_shipping_data Calls twice: once without zoneId for the zone list, once with it for methods.
get_payment_methods.json POST /tools/get_payment_methods Renders data[].title.
get_product_compatibility.json POST /tools/get_product_compatibility Drives brand/model/engine/product disambiguation loops.
get_car_data.json POST /tools/get_car_data Older export; no newer version available from the panel.
new_ticket.json POST /tools/new_ticket Takes conversationId only from $flow.sessionId (chatwoot:<id>), never from the model.

Every tool needs two Flowise variables:

  • $vars.relay_basehttps://eks-relay.easyklima.com
  • $vars.relay_shared_secret — the relay's RELAY_SHARED_SECRET