Capture and score an inbound lead, book the resulting appointment, then generate the invoice once it closes.
Record the inbound lead with contact details.
capture_lead({"handle": "my-agent"})Score the lead to confirm it's worth booking.
score_lead({"handle": "my-agent", "lead_id": 10})Book the appointment with the qualified lead.
book_appointment({"handle": "my-agent", "datetime": "2026-07-06"})Generate the invoice once the job is booked.
invoice_generator({"line_items": []})