WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Sales Leads → Create lead

AI-generated

Summary

Create a new sales lead in WorkBuddy by providing detailed prospect account and contact information along with required associations like billing company and owner.

Inputs

  • Account (required) — Prospect account details including name (also used as the lead display name), type (Business or Individual, defaults to Business), required phone and email, and optional fields such as website, annual revenue, industry, and employees.
  • Contact (required) — Prospect contact details including first name, last name, title, and contact emails or phone numbers.
  • Billing Company Id (required) — ID of an active WorkBuddy billing company to associate with the lead.
  • Owner Id (required) — ID of an active Employee or Team to assign as the lead owner.
  • Description — Detailed description of the lead.
  • Address — Optional prospect address as a string. Providing null clears the address.
  • Amount — Optional numeric amount associated with the lead.
  • Expected Close — Optional expected close date/time in ISO 8601 UTC format; null clears it.
  • Job Type Id — Optional job type ID associated with the lead; null clears selection.
  • Source Id — Optional lead source label ID; null clears it.
  • Tag Ids — Optional comma-separated lead label IDs to replace the tag list; null or empty clears tags.
  • Stage — Optional lead creation stage with choices: New, In Progress, Qualified, or Disqualified. Defaults to New.

Output shape

a single record representing the created lead

All input fields are merged into a request body sent to create the lead via the PublicLeadController_create API. Response contains the lead details after creation, including server-generated fields.

Links

Discussion