Back to all tools
Needs API key

Order status lookup

Point this at your own HTTPS order API (or a WooCommerce/custom backend). For Shopify, prefer the built-in Shopify integration when connected.

What this tool does

“Where is my order?” is one of the most common messages any store receives. This tool lets your agent look up an order by ID in your own order API, for example a WooCommerce site or a custom backend, and reply with the status and tracking details. Your API needs to be reachable over HTTPS and protected with a key. If you sell on Shopify, use CXWizard’s built-in Shopify integration instead, which handles order lookups without this tool.

Example conversation

Customer

Hi, where is my order? It is #10482.

Tool calllookup_order_status

order_id: 10482

AI agent

Let me check. Order #10482 shipped yesterday with DHL and is due on Thursday.

Customer

Can you send the tracking link?

AI agent

Of course, here it is. You can follow the delivery in real time from there.

Example only. Tool calls are shown so you can see when the agent uses this template. Your agent’s wording depends on your prompt and business information.

Who uses it

  • WooCommerce and custom online stores answering delivery questions.
  • Print, signage and custom product businesses sharing production status.
  • Pharmacies and food businesses confirming dispatch times.

Setup

  1. Expose an HTTPS GET endpoint that returns order JSON for a given order id (or use your existing store API).
  2. Replace the Endpoint URL host/path and Authorization token with your real values.
  3. In your prompt, tell the agent to ask for the order number first, then call lookup_order_status and summarize status and tracking.

Copy into custom tool form

Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.

Tool name

lookup_order_status

Description

Look up an order by order number or ID on your store API and return status, tracking, or fulfillment details. Ask the customer for their order number first.

Endpoint URL

Paste into Endpoint URL (https:// is added automatically).

YOUR_STORE_API.example.com/orders/{{order_id}}

HTTP method

GET

Tool inputs (all)

1. order_id (string) Order number or ID provided by the customer

Tool input: order_id

Input name

order_id

Input type

string

Input description

Order number or ID provided by the customer

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{order_id}}

Request query (all)

order_id: {{order_id}}

Field name

order_id

Field value

{{order_id}}

Headers (all)

Header values are encrypted when stored. Replace placeholders with your real secrets.

Authorization: Bearer YOUR_STORE_API_TOKEN

Header name

Authorization

Header value

Bearer YOUR_STORE_API_TOKEN