Skip to content
Dashboard

Open source Workflow Development Kit is now in public beta

export async function hailRide(requestId: string) {
"use workflow";
const request = await validateRiderRequest(requestId);
const trip = await assignDriver(request);
const confirmation = await notifyRider(trip);
const receipt = await createReceipt(trip);
return receipt;
}

Ready to deploy?