Skip to main content
On Finish Trip runs when a field worker taps End Trip in the field app and the trip end is recorded. It’s the place to close the day in other systems: trip summaries, fleet availability, expense reporting. The event belongs to the Location History group. It has no task type and no rules: every trip end in your organization triggers it.
Required permission:
  • View automation
  • Create automation

Before you start

  • Field workers use the field app, and the start trip / end trip feature is turned on for your organization.
  • A trip can only end after it was started.
  • The event can only come from the field app.

Set it up

  1. On Workflow › Automation, click New.
  2. Event: On Finish Trip.
  3. Automation Type: Webhook, the only type this event allows.
  4. Fill in the webhook URL and Headers, for example https://api.example.com/trip/end with an Authorization header.
  5. Click Submit and make sure the automation is Active.

Use cases

Webhook payload

An example request body. duration is in seconds:

Troubleshooting

The automation doesn’t run when a trip ends.
  • Check that its Active switch is on.
  • Check that the trip was started first.
  • A field worker without a connection sends the trip end when they come back online.
  • Look at the log for failed runs.