AI assistant
AI actions (HTTP tools)
Let your AI assistant look up order status, appointments, stock and more in your own systems. Step-by-step action setup and testing.
An action is an HTTP endpoint the AI assistant can call during a conversation. When a customer asks “Where's my order?”, the AI assistant asks your system and explains the result in its own words. With most ready integrations it finds the order by the phone number. With your own API you decide what it asks for.
Ready integrations: connect your store
If your store runs on one of the platforms below, you don't need to write code. In AI Studio › AI actions, open Ready integrations, pick your platform, and paste your store address and the key from your store admin. Where do I find this? shows step by step which menu of the platform gives you the key. After the connection test passes, we create the ready AI actions and add them to your AI assistants.
| Platform | What the AI can do | What you need from the admin |
|---|---|---|
| Shopify | Order status, shipment tracking, product stock/price | The app's client ID and secret |
| WooCommerce | Order status, shipment tracking, product stock/price | REST API consumer key and secret (Read permission) |
| ikas | Order status, shipment tracking | The private app's Client ID and Client Secret |
| T-Soft | Order status, shipment tracking, product stock/price | A key created under API Access (Client ID, Client Secret). You need to add Hitapo's IP address to the key. |
| Ticimax | Order status, shipment tracking | An authorization key from WS Yetki Kodu Yönetimi (permission to list orders) |
| IdeaSoft | Order status, shipment tracking, product stock/price | The Client ID and Client Secret of an API definition created under Entegrasyonlar › API › Ekle (Integrations › API › Add). You paste the redirect URL we show into the definition, then approve access with Connect with IdeaSoft. |
| Trendyol | Order status, shipment tracking (orders from the last month) | The Satıcı ID (Seller ID / Cari ID), API Key and API Secret on Hesap Bilgilerim › Entegrasyon Bilgileri (Account info › Integration info). Only the account's admin sees this page. |
| Hepsiburada | Order status, shipment tracking | The Merchant ID and service key from the integration details in the seller panel |
Finding an order without its number
The AI first searches by the conversation's phone number. If it finds nothing it asks for the order number, and if that doesn't work either it hands off to your team. With several orders it lists up to three and asks which one is meant. You don't need to reconnect a store you connected earlier.
| Platform | Where we look without an order number | Permission needed |
|---|---|---|
| Shopify | The newest 250 orders of the last 60 days | read_orders and protected customer data access for phones on orders |
| WooCommerce | Phone search in the last 90 days of orders | Read |
| ikas | The newest 200 orders of the last 90 days | View Orders |
| T-Soft | The newest 150 orders of the last 90 days | Read orders and customer personal data on orders |
| Ticimax | Search by the member's phone, last 90 days | List orders |
| IdeaSoft | Search by shipping phone, last 90 days | Read orders |
| Trendyol | The 200 most recently updated packages in each 10 days of the last month | The existing API key |
| Hepsiburada | No search by phone, the AI asks for the order number | None |
- On phone calls we use the caller's number, on WhatsApp and SMS the sender's. In web chat and web calls we only use a phone your site sent with signed identity.
- We never search by a number typed in chat, entered in a form, said out loud or shown in a photo. In web chat a number your team typed into the profile isn't enough either.
- For hidden numbers, outgoing calls, Turkish landline and 0850 numbers, and calls that show the forwarding line, the AI asks for the order number. We recognise forwarding from what the operator sends. Your business's own numbers saved in Hitapo don't match either.
- On Instagram, Messenger, Telegram, e-mail, marketplace messages and video meetings the AI asks for the order number.
- Caller IDs can be spoofed. So without an order number only status, short date, carrier, estimated delivery and, if needed, the last digits of a long order number are shared. Address, name, e-mail, total, items, tracking number and links are not.
- For Trendyol orders we don't share the date either.
- We search by phone at most 5 times per store in 12 hours in one conversation.
Starting from a template: order status
- Step 1: In AI Studio › AI actions, click Start from a template.
- Step 2: The template loads: Tool name
siparis_durumu_sorgula, methodGET, URLhttps://api.magazaniz.com/v1/orders/{{order_id}}. - Step 3: Replace the URL with your own order API's address.
- Step 4: Under Headers, replace the
Authorizationvalue with your own API key. - Step 5: Click Create action, then try it with a sample order number in the Test section.
- Step 6: In your AI assistant's AI actions section, tick this action and save.
Action fields
| Field | Description |
|---|---|
| Tool name | Lowercase letters, digits and underscores (snake_case), 2–64 characters. E.g. get_order_status. |
| When should the AI use this tool? | The description sent to the model. Say clearly what it does and when it should be called, including any preconditions (e.g. “If there's no order number, ask the customer for it first.”). |
| Method | GET or POST. |
| URL | Insert parameters into the URL with {{parameter}}. Other parameters go into the query string for GET and into the JSON body for POST. |
| Headers | Headers for authorization, such as Authorization: Bearer …. Values are stored encrypted; after saving, only the last 4 characters are shown (••••abcd). To change one, type the new value; if you leave it alone, the old value is kept. |
| Parameters | The values the AI picks out of the conversation and sends: Name, Type (Text, Number, Yes/No), Description and Required. You can switch to JSON schema mode if you prefer. |
URL: https://api.magazaniz.com/v1/orders/{{order_id}}
Parameters: order_id = 100245, email = jane@example.com
Sent: GET https://api.magazaniz.com/v1/orders/100245?email=jane%40example.com
Authorization: Bearer <your key>Testing
After saving the action, enter sample values in the Test section and click Run test. The result shows as Worked or Didn't work, with the HTTP status code, the duration and the response body. The test runs against the saved version. To see the real conversation flow, use the Playground.
How actions run
- Each request times out after 10 seconds.
- The first 4,000 characters of the response are passed to the AI, so return short, focused JSON.
- The AI assistant makes at most 5 tool calls per reply.
- For security, requests are never sent to local or private network addresses; your API must be reachable from the internet.
- Actions that are turned off aren't offered to the AI assistant.
Tips for good actions
- To verify the customer, set the parameter's source to Verified phone or Verified e-mail and match it in your API. A phone number or e-mail the customer tells the AI doesn't count as identity.
- Return only the fields that can be shared with the customer.
- Start with safe actions like status lookups rather than irreversible ones like refunds.
Last updated: