Shop-Script Connection
How to connect Shop-Script store to ChatRex and configure a bot with a catalog and orders.
Integration allows the bot to receive categories and goods, create an order and search for an existing order.
Connection
- Open Integrations in ChatRex.
- Press Connect integration and find Shop-Script.
- Press Connect.
- Enter the full store address, such as
https://shop.example.ru. - On the Shop-Script page, confirm access.
- After returning, check the connection status in ChatRex.
Available scripts
- obtaining a list of categories;
- receipt of goods of the selected category;
- receipt of the catalog;
- order creation;
- Search for an order by number or track number.
Add only those operations that your bot needs. In the Prompt, set the order: first pick up the goods, then collect contacts and delivery data, show the result and request confirmation, then create an order.
Verification
- Get the test category and the product.
- Compare the name, price and availability with the store.
- Create a test order.
- Find him by number.
- Remove or cancel the test order from Shop-Script if it is no longer needed.
Do not tell the customer that an order has been created until an action has returned a number or other clear indication of a successful result.