Actions227
- Jobs Actions
- Search jobs or stages with complex filters
- Get job by ID or job number
- Cancel a job
- Create a new job
- Create a new job from template
- Set job finance marks
- Update job status
- Update a job
- Dispatch a job
- List job stages
- Get job stage
- List stage items
- Create stage items
- Get stage item
- Update stage item
- Delete stage item
- Items Actions
- Pending Items Actions
- Stages Pending Items Actions
- Stages Actions
- Stages Resources Actions
- Stages Appointments Actions
- Settings Reference Data Actions
- Settings Templates Actions
- Settings Items Actions
- Settings Custom Fields Actions
- Attachments Actions
- Jobs Activities Actions
- List activities (Jobs)
- List email or SMS templates for this record (Jobs)
- List merge fields for this record's templates (Jobs)
- Get activity by ID (Jobs)
- Delete activity (Jobs)
- Create note activity (Jobs)
- Create email activity (Jobs)
- Create SMS activity (Jobs)
- Preview an email activity (Jobs)
- Preview an SMS activity (Jobs)
- Create phone activity (Jobs)
- Create integration activity (Jobs)
- Create thread activity (Jobs)
- Stages Activities Actions
- List activities (Stages)
- List email or SMS templates for this record (Stages)
- List merge fields for this record's templates (Stages)
- Get activity by ID (Stages)
- Delete activity (Stages)
- Create note activity (Stages)
- Create email activity (Stages)
- Create SMS activity (Stages)
- Preview an email activity (Stages)
- Preview an SMS activity (Stages)
- Create phone activity (Stages)
- Create integration activity (Stages)
- Create thread activity (Stages)
- Jobs Files Actions
- Stages Files Actions
- Jobs Tasks Actions
- Stages Tasks Actions
- Jobs Contacts Actions
- Crm Customers Actions
- Crm Employees Actions
- Crm Contractors Actions
- Crm Suppliers Actions
- Crm Companies Actions
- Crm External Users Actions
- Crm Contacts Actions
- Crm Invites Actions
- Crm Sites Actions
- Webhooks V2 Actions
- List webhook-supported entity types and their available events
- List the webhook events available for a given entity type
- List the filter fields available when subscribing to a given entity type
- List webhook subscriptions
- Create a webhook subscription
- Get a webhook subscription by ID
- Update a webhook subscription
- Delete a webhook subscription
- Regenerate the signing secret for a webhook subscription
- Send a test event to a webhook subscription
- List recent delivery attempts for a webhook subscription
- Data Export Actions
- Agents Actions
- Flags Actions
- Service Plans Actions
- Service Plans Lines Actions
- Service Plans Lines Tasks Actions
- Service Plans Lines Tasks Subtasks Actions
- Sales Leads Actions
- Sales Opportunities Actions
- Mcp Actions
Jobs Activities → Preview an email activity (Jobs)
AI-generatedSummary
Preview an email activity (jobs-activities): generates a preview of an email for a specified job, using optional template, recipients, labels, attachments, and sharing options. Supports HTML body, multiple 'to', 'cc', 'bcc' recipients, and a 'merge' option to merge fields.
Inputs
- jobId (required) — Job ID or job number (e.g. J12345)
- templateId — Template ID to pre-populate fields from a template
- subject — Email subject line
- body — Message body content (HTML supported for email)
- to — Recipients (multiple values allowed)
- merge — Option to merge fields into the email content
- cc — CC recipients (multiple values allowed)
- bcc — BCC recipients (multiple values allowed)
- labelIds — Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")
- attachmentIds — Attachment IDs from the upload endpoint (comma-separated, e.g. "id1,id2")
- sharing — Sharing options — control visibility to customer portal and field app
- requestOptions — Various request options such as batching, proxy, timeout, and SSL settings
Output shape
a single email activity object
Returns the previewed email activity as a JSON object. Optional fields may be omitted.
Examples
Example 1: Preview an email activity for a specific job using a template
jobId=J12345&templateId=T987&subject=Hello&body=
Test
&to=alice@example.com,cc=bob@example.com