Tours and excursions · Barcelona, Spain · Alerts & monitoring

Guides at the terminal before the ship docks

Marta runs the guide teams of a big tour company in Barcelona. Cruise passengers are a third of her business.

Listen to the story:

The challenge

Ships come in early, late, or not at all, and the port’s list changes overnight. Marta keeps forty guides on call just in case. Some mornings, half of them wait at the terminal for nothing. Other mornings, a ship arrives early and nobody is there.

How the flow works

With xMap Flows, Marta built Harbor. Harbor is an AI employee: a flow of 7 blocks.

  1. Every half hour from four in the morning,

    Every 30 min, 4 to 9 am (Schedule)

  2. over the sea off Barcelona,

    The sea off Barcelona (Area of interest)

  3. Harbor listens for the passenger ships,

    Passenger ships (Ships (AIS))

  4. keeps the ones heading for Barcelona,

    Heading for Barcelona (Filter)

  5. skips the ones already counted,

    Not seen this week (Only new)

  6. works out the guides from each ship’s size,

    Guides needed (Calculated field)

  7. and calls the guides in on WhatsApp.

    Call the guides in (WhatsApp Business)

What it solves

The result

At five this morning, Harbor hears a three hundred metre ship coming in an hour early, off Sitges. Twelve guides are told before six and meet it at the terminal. On quiet days, the rest stay home.

Marta stopped guessing which ships would come. Now she watches them arrive.

1 hearly, and still met
12guides told before six
40guides no longer on call

An illustrative scenario: the figures are modelled to show what the flow produces, not a customer's results.

The flow, block by block

  1. 1

    Every 30 min, 4 to 9 am

    Schedule

    Starts the flow on a timetable.

  2. 2

    The sea off Barcelona

    Area of interest

    Sets where the flow looks: countries, cities or specific places, or areas you draw on a map.

  3. 3

    Passenger ships

    Ships (AIS)

    Ships at sea or in port right now, from AIS (the signal ships send with their position, speed and heading; live from AISStream): every vessel heard in the Area of interest before this block, or around a point.

  4. 4

    Heading for Barcelona

    Filter

    Keeps only the items that match a rule.

  5. 5

    Not seen this week

    Only new

    Lets through only the items this flow has not found before, so a daily flow sends only what is new.

  6. 6

    Guides needed

    Calculated field

    Adds fields worked out from the others: a number, a text or a yes/no.

  7. 7

    Call the guides in

    WhatsApp Business · WhatsApp

    Send text, media and template messages from your WhatsApp Business number.

Templates to build it

Ready-made flows with the same blocks. Open one, change the city and the kind of place, and run it.

Industries

Learn how it works

More stories from Travel & tourism

All 137 stories →

Build this flow on your own city

Run a live search on the home page without an account, or let Ask xMap build the flow from one sentence.