WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Activities → Create SMS activity (Stages)

AI-generated

Summary

Creates an SMS activity within a WorkBuddy stage using a template or custom message content.

Inputs

  • stageId (required) — Stage ID or stage number to associate the activity with.
  • jobId (required) — Job ID to associate the activity with.
  • templateId — Template ID to pre-populate fields from a template.
  • body — Message body content (HTML supported for email).
  • to — Recipients.
  • labelIds — Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2").
  • sharing — Sharing options — control visibility to customer portal and field app. Includes flags: Shared With Customer, Shared With Field, Sensitive.
  • merge — Whether to merge the SMS activity with existing activities.

Output shape

a single record

Returns the created activity record. The exact shape depends on the WorkBuddy API response.

Examples

Example 1: Create a custom SMS activity with a specific body and recipients.

Set stageId and jobId as required. Provide a custom body and a list of recipients in the 'to' field.

Example 2: Create an SMS activity using a template and share it with the customer portal.

Provide the templateId and set 'sharedWithCustomer' to true under the 'sharing' options.

Links

Discussion