# Skroutz Last Mile

Skroutz Last Mile lets the agent answer "where is my Skroutz order?" on the phone. Skroutz tracks deliveries per order, not per voucher. The caller gives the Skroutz order code, the agent looks it up through the Skroutz merchant API and tells the caller the order's delivery state, the courier that carries it and that courier's tracking codes.

Open **Integrations - Catalogue - Skroutz Last Mile - Connect**. One connection is shared by the whole company. Then turn on the **Courier** tool on each agent that should track orders.

  <ShotPlaceholder
    src="/assets/integrations/skroutz-last-mile.png"
    name="skroutz-last-mile-connect"
    alt="Connect Skroutz Last Mile dialog with API token"
    capture="Integrations - Catalogue - Skroutz Last Mile - Connect dialog, empty form."
  />

## What you need before you start

- A Skroutz merchant account that sells with Skroutz Last Mile.
- A Skroutz merchant API token with Last Mile access. Skroutz enables it for your account on request.

## What you enter

- **API token** (required) — Your Skroutz merchant API token. It is stored encrypted.

**Test connection** checks the token against your Skroutz order list. Use it before **Connect**.

## First setup

1. **Get the API token**

   Ask Skroutz to enable Last Mile API access for your merchant account and copy the API token.

2. **Connect Skroutz Last Mile**

   **Integrations - Catalogue - Skroutz Last Mile - Connect**. Paste the token, then **Test connection** and **Connect**.

3. **Turn on the Courier tool**

   **My Agents - agent - Skills - Tools & Workflows** - turn on **Courier**. **Track voucher** is on by default. **Save**.

4. **Tell the agent what to ask for**

   Callers often have a courier voucher in hand, not the Skroutz order code. In the agent's instructions, say that for Skroutz orders the agent asks for the Skroutz order code.

5. **Prove it**

   Call the agent and give the code of a recent Skroutz order. The agent tells you the delivery state and which courier has the parcel.

## What the agent can do

- Look up a Skroutz order by its order code and give its delivery state, including whether it is delivered.
- Name the courier that carries the order and read its tracking codes, so the caller can follow up with that courier.
- Find the order without being told the courier. The agent tries every courier the company has connected, Skroutz Last Mile included.

## Troubleshooting

**Test connection fails**

Skroutz rejected the API token. Copy it again from Skroutz without spaces, and confirm with Skroutz that the token is active and has Last Mile access.

**The agent says there is no order with that code**

Skroutz has no order with that code in your merchant account. The caller probably gave a courier voucher or another shop's order number. Ask for the Skroutz order code from the order confirmation.

**The agent says it cannot track orders**

The **Courier** tool is off on this agent, or the agent was not saved after turning it on. Open **Skills - Tools & Workflows**, check **Courier** and **Track voucher**, then **Save**.

## Next Steps

[Get an integration working](https://docs.voicelogica.ai/integrations/) - the company connection and the agent tool.  
[BOX NOW](https://docs.voicelogica.ai/integrations/payments-logistics/boxnow/) - parcel lockers.  
[ACS Courier](https://docs.voicelogica.ai/integrations/payments-logistics/acs-courier/) - track the courier voucher directly.
