# SubcontractorHub + Twilio Integrations: Connect with Zapier MCP
> zapier.com/apps/subcontractorhub/integrations/twilio
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate SubcontractorHub and Twilio in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · callv2`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "twilio", owner: "me" });

const { data } = await zapier.runAction({
  app: "twilio",
  actionType: "write",
  action: "callv2",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action twilio write callv2 \
  --inputs '{}'
```

## SubcontractorHub

### Identity
SubcontractorHub is a CRM and design measurement tool for Roofing Contractors and Organisations.

- App slug: subcontractorhub
- Operations published here: 19 (10 events, 9 functions)

### Authentication
Zapier connects to SubcontractorHub via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection subcontractorhub
```

### Capabilities

#### Events (10)

Events fire when something happens in SubcontractorHub. Use them to start a run.

##### Select Active Users
get the list of active users for the selected organization

- Type: read · Key: `active_users`
- Requires: nothing
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "active_users" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read active_users`

##### Get Stages Keys
gets the list of stages from subcontractorhub

- Type: read · Key: `get_stages_keys`
- Requires: nothing
- Optional: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "get_stages_keys" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read get_stages_keys`

##### New Lead
Triggers when a lead is created in sch.

- Type: read · Key: `lead_created`
- Requires: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "lead_created" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read lead_created`

##### Lead Updated
Triggers when a lead is updated in sch.

- Type: read · Key: `lead_updated`
- Requires: nothing
- Optional: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "lead_updated" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read lead_updated`

##### New Customer
Triggers when a new customer is added.

- Type: read · Key: `new_customer`
- Requires: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "new_customer" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read new_customer`

##### New Project
Triggers when a new project is created.

- Type: read · Key: `new_project`
- Requires: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "new_project" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read new_project`

##### New Project Version 2
Triggers when a project is created in sch.

- Type: read · Key: `new_project_version_2`
- Requires: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "new_project_version_2" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read new_project_version_2`

##### Project Update
Triggers when a project is updated.

- Type: read · Key: `project_update`
- Requires: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "project_update" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read project_update`

##### Proposal Created
Triggers when a proposal is created.

- Type: read · Key: `proposal_created`
- Requires: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "proposal_created" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read proposal_created`

##### Proposal Updated
Triggers when a proposal is updated.

- Type: read · Key: `proposal_updated`
- Requires: nothing
- Optional: organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "read", action: "proposal_updated" })`
- CLI: `npx zapier-sdk run-action subcontractorhub read proposal_updated`

#### Functions (9)

Functions change something in SubcontractorHub.

##### Add Materials
Add materials in SCH

- Type: write · Key: `add_materials`
- Requires: manufacturer, sku, part_number, type, job_type, pack_size, qty, no_of_item
- Optional: material_name, description, delivery_type, active
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "add_materials" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write add_materials`

##### Add Material Type
Add Material Type In SCH

- Type: write · Key: `add_material_type`
- Requires: job_type, type, category
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "add_material_type" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write add_material_type`

##### Create Customer
Create Customer in SubontractorHub

- Type: write · Key: `create_customer`
- Requires: first_name, street, city, state, postal_code, job_type, organization
- Optional: last_name, email, phone, country, country_code, lead_source, lead_sub_source, do_not_text, do_not_call, do_not_email, spanish, preferred_contact_method, referred_by, sales_notes, qualifying_representative, campaign_number, lead_score, custom_fields, owner_id, owner_email, external_id
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write create_customer`

##### Create Lead in CRM
Create Lead in Subcontractorhub

- Type: write · Key: `create_lead`
- Requires: first_name, last_name, email, street, state_name, postal_code, county, job_type, organization
- Optional: phone, city, country, latitude, longitude, qualifying_representative, sales_rep_first_name, sales_rep_last_name, sales_rep_email, sales_rep_phone, sales_rep_his_number, lead_source, lead_sub_source, lead_score, notes, company, description, from_url, status, annual_revenue, employees, email_opt_out, utm_campaign, utm_source, utm_medium, utm_content, utm_term, website, engagement_history, spanish, preferred_contact_method, referred_by, do_not_call, do_not_text, legal, default_timezone, external_lead, state, territory
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write create_lead`

##### Create Project
Create Project in SubontractorHub

- Type: write · Key: `create_project`
- Requires: job_type, street, city, state, postal_code, first_name, last_name, email, module_name, module_watts, module_total_panels, battery_name, battery_price, battery_size_kwh, battery_quantity, organization, external_id, territory
- Optional: finance_partner, finance_rate, finance_term_year, finance_escalator_rate, downpayment, contract_amount, finance_amount, utility_company, system_size_kw, annual_usage, annual_production, agreement_url, shade_report_url, design_url, contract_signed_date, sales_representative_name, sales_representative_email, sales_representative_first_name, sales_representative_last_name, owner_email, inverter_name, inverter_manufacturer, inverter_quantity, module_manufacturer, battery_manufacturer, finance_ppw, phone
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write create_project`

##### Get Project
To fetch particular project

- Type: write · Key: `project`
- Requires: unique_id, organization
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "project" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write project`

##### Update Project
Update Project in SubontractorHub

- Type: write · Key: `upadte_project`
- Requires: unique_id, organization
- Optional: finance_partner, finance_term_year, finance_rate, finance_ppw, finance_monthly_payment, contract_signed_url, county, country, latitude, longitude, downpayment, discounts_total, base_system_cost, battery_total, adders_total, dealer_fee, contract_amount, utility_company, utility_bill, module_manufacturer, inverter_name, inverter_manufacturer, inverter_quantity, battery_name, battery_manufacturer, battery_price, battery_size_kwh, battery_quantity, annual_production, annual_usage, system_size_kw, finance_type, finance_escalator_rate, contract_type, last_name, phone, owner_email, sales_representative_name, current_stage, sales_representative_email, first_name, email
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "upadte_project" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write upadte_project`

##### Update Customer
Update Customer in SubontractorHub

- Type: write · Key: `update_customer`
- Requires: organization, id
- Optional: first_name, last_name, phone, email, country_code, county, state, street, city, country, postal_code, job_type, do_not_text, do_not_call, do_not_email, spanish, preferred_contact_method, referred_by, sales_notes, lead_score, latitude, longitude, language, lead_source, lead_sub_source, stage, qualifying_representative, custom_fields
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write update_customer`

##### Update Stages
update stages of projects

- Type: write · Key: `update_stages`
- Requires: unique_id
- Optional: organization, fields_0_field_key, fields_0_field_value, fields_1_field_key, fields_1_field_value, fields_2_field_key, fields_2_field_value, fields_3_field_key, fields_3_field_value, fields_4_field_key, fields_4_field_value, fields_5_field_key, fields_5_field_value, fields_6_field_key, fields_6_field_value, fields_7_field_key, fields_7_field_value, fields_8_field_key, fields_8_field_value, fields_9_field_key, fields_9_field_value, fields_10_field_key, fields_10_field_value, fields_11_field_key, fields_11_field_value, fields_12_field_key, fields_12_field_value, fields_13_field_key, fields_13_field_value, fields_14_field_key, fields_14_field_value, fields_15_field_key, fields_15_field_value, fields_16_field_key, fields_16_field_value, fields_17_field_key, fields_17_field_value, fields_18_field_key, fields_18_field_value, fields_19_field_key, fields_19_field_value, fields_20_field_key, fields_20_field_value, fields_21_field_key, fields_21_field_value, fields_22_field_key, fields_22_field_value, fields_23_field_key, fields_23_field_value, fields_24_field_key, fields_24_field_value, fields_25_field_key, fields_25_field_value, fields_26_field_key, fields_26_field_value, fields_27_field_key, fields_27_field_value, fields_28_field_key, fields_28_field_value, fields_29_field_key, fields_29_field_value, fields_30_field_key, fields_30_field_value, fields_31_field_key, fields_31_field_value, fields_32_field_key, fields_32_field_value, fields_33_field_key, fields_33_field_value, fields_34_field_key, fields_34_field_value, fields_35_field_key, fields_35_field_value, fields_36_field_key, fields_36_field_value, fields_37_field_key, fields_37_field_value, fields_38_field_key, fields_38_field_value, fields_39_field_key, fields_39_field_value, fields_40_field_key, fields_40_field_value, fields_41_field_key, fields_41_field_value, fields_42_field_key, fields_42_field_value, fields_43_field_key, fields_43_field_value, fields_44_field_key, fields_44_field_value, fields_45_field_key, fields_45_field_value, fields_46_field_key, fields_46_field_value, fields_47_field_key, fields_47_field_value, fields_48_field_key, fields_48_field_value, fields_49_field_key, fields_49_field_value, fields_50_field_key, fields_50_field_value, fields_51_field_key, fields_51_field_value, fields_52_field_key, fields_52_field_value, fields_53_field_key, fields_53_field_value, fields_54_field_key, fields_54_field_value, fields_55_field_key, fields_55_field_value, fields_56_field_key, fields_56_field_value, fields_57_field_key, fields_57_field_value, fields_58_field_key, fields_58_field_value, fields_59_field_key, fields_59_field_value, fields_60_field_key, fields_60_field_value, fields_61_field_key, fields_61_field_value, fields_62_field_key, fields_62_field_value, fields_63_field_key, fields_63_field_value, fields_64_field_key, fields_64_field_value, fields_65_field_key, fields_65_field_value, fields_66_field_key, fields_66_field_value, fields_67_field_key, fields_67_field_value, fields_68_field_key, fields_68_field_value, fields_69_field_key, fields_69_field_value, fields_70_field_key, fields_70_field_value, fields_71_field_key, fields_71_field_value, fields_72_field_key, fields_72_field_value, fields_73_field_key, fields_73_field_value, fields_74_field_key, fields_74_field_value, fields_75_field_key, fields_75_field_value, fields_76_field_key, fields_76_field_value, fields_77_field_key, fields_77_field_value, fields_78_field_key, fields_78_field_value, fields_79_field_key, fields_79_field_value, fields_80_field_key, fields_80_field_value, fields_81_field_key, fields_81_field_value, fields_82_field_key, fields_82_field_value, fields_83_field_key, fields_83_field_value, fields_84_field_key, fields_84_field_value, fields_85_field_key, fields_85_field_value, fields_86_field_key, fields_86_field_value, fields_87_field_key, fields_87_field_value, fields_88_field_key, fields_88_field_value, fields_89_field_key, fields_89_field_value, fields_90_field_key, fields_90_field_value, fields_91_field_key, fields_91_field_value, fields_92_field_key, fields_92_field_value, fields_93_field_key, fields_93_field_value, fields_94_field_key, fields_94_field_value, fields_95_field_key, fields_95_field_value, fields_96_field_key, fields_96_field_value, fields_97_field_key, fields_97_field_value, fields_98_field_key, fields_98_field_value, fields_99_field_key, fields_99_field_value, fields_100_field_key, fields_100_field_value
- SDK: `runAction({ app: "subcontractorhub", actionType: "write", action: "update_stages" })`
- CLI: `npx zapier-sdk run-action subcontractorhub write update_stages`

## Twilio

### Identity
An easy tool for developers to send and receive SMS and voice calls.

- App slug: twilio
- Operations published here: 9 (6 events, 3 functions)

### Authentication
Zapier connects to Twilio via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection twilio
```

### Capabilities

#### Events (6)

Events fire when something happens in Twilio. Use them to start a run.

##### New Phone Number
Triggers when you add a new phone number.

- Type: read · Key: `available_number`
- Requires: nothing
- SDK: `runAction({ app: "twilio", actionType: "read", action: "available_number" })`
- CLI: `npx zapier-sdk run-action twilio read available_number`

##### New Call
Triggers when a call is finished on your Twilio number.

- Type: read · Key: `call_hook`
- Requires: nothing
- Optional: instructions_copy
- SDK: `runAction({ app: "twilio", actionType: "read", action: "call_hook" })`
- CLI: `npx zapier-sdk run-action twilio read call_hook`

##### New Recording
Triggers when a new recording is available on your account.

- Type: read · Key: `recording`
- Requires: nothing
- SDK: `runAction({ app: "twilio", actionType: "read", action: "recording" })`
- CLI: `npx zapier-sdk run-action twilio read recording`

##### New SMS
Triggers when an SMS is sent to your Twilio number.

- Type: read · Key: `sms`
- Requires: to_number
- Optional: us_prefix
- SDK: `runAction({ app: "twilio", actionType: "read", action: "sms" })`
- CLI: `npx zapier-sdk run-action twilio read sms`

##### New Transcription
Triggers when a new transcription is available on your account.

- Type: read · Key: `transcription`
- Requires: nothing
- SDK: `runAction({ app: "twilio", actionType: "read", action: "transcription" })`
- CLI: `npx zapier-sdk run-action twilio read transcription`

##### New WhatsApp Message
Triggers when a WhatsApp message is sent to your Twilio number.

- Type: read · Key: `whatsapp_message`
- Requires: to_number
- SDK: `runAction({ app: "twilio", actionType: "read", action: "whatsapp_message" })`
- CLI: `npx zapier-sdk run-action twilio read whatsapp_message`

#### Functions (3)

Functions change something in Twilio.

##### Call Phone
Call a number or numbers and say a message.

- Type: write · Key: `callv2`
- Requires: from_number, to_number, message
- Optional: voice, language, send_digits
- SDK: `runAction({ app: "twilio", actionType: "write", action: "callv2" })`
- CLI: `npx zapier-sdk run-action twilio write callv2`

##### Send WhatsApp Message
Send a WhatsApp message to one or more recipients.

- Type: write · Key: `send_whatsapp_message`
- Requires: from_number, to_number, message
- Optional: helptext, alphanumeric_sender_id, media_url
- SDK: `runAction({ app: "twilio", actionType: "write", action: "send_whatsapp_message" })`
- CLI: `npx zapier-sdk run-action twilio write send_whatsapp_message`

##### Send SMS
Send a SMS to a number or numbers.

- Type: write · Key: `smsv2`
- Requires: from_number, to_number, message
- Optional: alphanumeric_sender_id, media_url, split_message
- SDK: `runAction({ app: "twilio", actionType: "write", action: "smsv2" })`
- CLI: `npx zapier-sdk run-action twilio write smsv2`

## Frequently asked questions about automating with SubcontractorHub and Twilio

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- SubcontractorHub integrations: zapier.com/apps/subcontractorhub/integrations.md
- Twilio integrations: zapier.com/apps/twilio/integrations.md
- Full page: zapier.com/apps/subcontractorhub/integrations/twilio
- SDK: npmjs.com/package/@zapier/zapier-sdk