# Sub-Zap by Zapier + RiskBase Integrations: Connect with Zapier MCP
> zapier.com/apps/sub-zap-by-zapier/integrations/riskbase
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Sub-Zap by Zapier and RiskBase 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 · add_property_team_users`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action riskbase write add_property_team_users \
  --inputs '{}'
```

## Sub-Zap by Zapier

### Identity
Build reusable Zap components and systems by building and calling "Sub-Zaps".

- App slug: sub-zap-by-zapier
- Operations published here: 3 (1 event, 2 functions)

### Capabilities

#### Events (1)

Events fire when something happens in Sub-Zap by Zapier. Use them to start a run.

##### Start a Sub-Zap
Triggers when an outside Zap calls this Sub-Zap. Always used inside of a Sub-Zap. A later step in the Sub-Zap should be the "Return from a Sub-Zap" action.

- Type: read · Key: `start_subzap`
- Requires: nothing
- Optional: input_list, zap_id, blank_sample_notice
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "read", action: "start_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier read start_subzap`

#### Functions (2)

Functions change something in Sub-Zap by Zapier.

##### Call a Sub-Zap
Used outside of a Sub-Zap, this will activate a Sub-Zap, which should contain both the "Start a Sub-Zap" trigger and "Return from a Sub-Zap" action.

- Type: write · Key: `call_subzap`
- Requires: account_id, zap_id
- Optional: parent_zap_directions, live_testing_info, blank_sample_notice, zap_path_run_id
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "write", action: "call_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier write call_subzap`

##### Return From a Sub-Zap
Used inside of a Sub-Zap, this is the final step of a Sub-Zap and should be after the "Start a Sub-Zap" trigger.

- Type: write · Key: `return_subzap`
- Requires: nothing
- Optional: output_dict, zap_path_run_id, zap_run_id
- SDK: `runAction({ app: "sub-zap-by-zapier", actionType: "write", action: "return_subzap" })`
- CLI: `npx zapier-sdk run-action sub-zap-by-zapier write return_subzap`

## RiskBase

### Identity
RiskBase is a tool to help organisations meet the requirements of the Fire Safety Act and Fire Safety England Regulations.

- App slug: riskbase
- Operations published here: 36 (19 functions, 17 queries)

### Authentication
Zapier connects to RiskBase 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 riskbase
```

### Capabilities

#### Functions (19)

Functions change something in RiskBase.

##### Add Property Team Users
Adds users to a property team.

- Type: write · Key: `add_property_team_users`
- Requires: id, team, users
- Optional: skipWebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "add_property_team_users" })`
- CLI: `npx zapier-sdk run-action riskbase write add_property_team_users`

##### Add User to Group
Adds a user to an existing group.

- Type: write · Key: `add_user_to_group`
- Requires: userUid, groupName, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "add_user_to_group" })`
- CLI: `npx zapier-sdk run-action riskbase write add_user_to_group`

##### Get Assessment PDF Report
Gets an assessment PDF report based on the assessment ID.

- Type: write · Key: `assessment_pdf_report_create`
- Requires: assessment_id
- Optional: organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "assessment_pdf_report_create" })`
- CLI: `npx zapier-sdk run-action riskbase write assessment_pdf_report_create`

##### Get Assessment Bundle ZIP
Gets an assessment bundle ZIP based on assessment ID.

- Type: write · Key: `assessment_report_zip_bundle`
- Requires: assessment_id
- Optional: organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "assessment_report_zip_bundle" })`
- CLI: `npx zapier-sdk run-action riskbase write assessment_report_zip_bundle`

##### Create/Update Assessment Schedule
Creates or updates an assessment schedule for a property and assessment type.

- Type: write · Key: `assessment_schedule`
- Requires: property, type, dueDate
- Optional: description, customReference, assignedUsers, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "assessment_schedule" })`
- CLI: `npx zapier-sdk run-action riskbase write assessment_schedule`

##### Create or Link User
Creates a new or links an existing user to your current organisation if their email already exists.

- Type: write · Key: `create_or_link_user`
- Requires: email, active
- Optional: forename, surname, customReference, value, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "create_or_link_user" })`
- CLI: `npx zapier-sdk run-action riskbase write create_or_link_user`

##### Delete Group (SCIM)
Deletes an existing group using its ID using SCIM.

- Type: write · Key: `delete_scim_group`
- Requires: id
- Optional: organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "delete_scim_group" })`
- CLI: `npx zapier-sdk run-action riskbase write delete_scim_group`

##### Delete User (SCIM)
Deletes a user using their ID using SCIM.

- Type: write · Key: `delete_scim_user`
- Requires: id
- Optional: organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "delete_scim_user" })`
- CLI: `npx zapier-sdk run-action riskbase write delete_scim_user`

##### Move Property
Moves a property to a different parent, such as a property group or organisation.

- Type: write · Key: `move_property`
- Requires: id, parent
- Optional: skipWebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "move_property" })`
- CLI: `npx zapier-sdk run-action riskbase write move_property`

##### Overwrite Group (SCIM)
Overwrites an existing group using SCIM.

- Type: write · Key: `overwrite_scim_group`
- Requires: groupId, name
- Optional: description, value, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "overwrite_scim_group" })`
- CLI: `npx zapier-sdk run-action riskbase write overwrite_scim_group`

##### Overwrite User (SCIM)
Overwrites an existing user using SCIM.

- Type: write · Key: `overwrite_scim_user`
- Requires: userId, role
- Optional: userName, givenName, familyName, active, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "overwrite_scim_user" })`
- CLI: `npx zapier-sdk run-action riskbase write overwrite_scim_user`

##### Create Property
Creates a new property.

- Type: write · Key: `property`
- Requires: name
- Optional: parent, customReference, line1, line2, city, county, postcode, skipWebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "property" })`
- CLI: `npx zapier-sdk run-action riskbase write property`

##### Remove Property Team Users
Removes users from a property team.

- Type: write · Key: `remove_property_team_users`
- Requires: id, team, users
- Optional: skipWebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "remove_property_team_users" })`
- CLI: `npx zapier-sdk run-action riskbase write remove_property_team_users`

##### Create Group (SCIM)
Creates a new group with a name, description and members using SCIM.

- Type: write · Key: `scim_group`
- Requires: name, value
- Optional: description, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "scim_group" })`
- CLI: `npx zapier-sdk run-action riskbase write scim_group`

##### Create User (SCIM)
Creates a new user using SCIM.

- Type: write · Key: `scim_user`
- Requires: userName, primary
- Optional: givenName, familyName, authenticationType, value, active, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "scim_user" })`
- CLI: `npx zapier-sdk run-action riskbase write scim_user`

##### Update Task Status
Updates the status of an existing task.

- Type: write · Key: `tasks`
- Requires: id, status
- Optional: user, comment, skipWebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "tasks" })`
- CLI: `npx zapier-sdk run-action riskbase write tasks`

##### Update Property
Updates an existing property

- Type: write · Key: `update_property`
- Requires: id
- Optional: name, customReference, line1, line2, city, county, postcode, skipWebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "update_property" })`
- CLI: `npx zapier-sdk run-action riskbase write update_property`

##### Update Group (SCIM)
Updates an existing group using SCIM.

- Type: write · Key: `update_scim_group`
- Requires: id, op, path, value
- Optional: schemas, organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "update_scim_group" })`
- CLI: `npx zapier-sdk run-action riskbase write update_scim_group`

##### Update User (SCIM)
Updates a user using SCIM.

- Type: write · Key: `update_scim_user`
- Requires: id, op, path, value
- Optional: organisation
- SDK: `runAction({ app: "riskbase", actionType: "write", action: "update_scim_user" })`
- CLI: `npx zapier-sdk run-action riskbase write update_scim_user`

#### Queries (17)

Queries read from RiskBase and return data. They change nothing.

##### Find Assessments
Search for assessments with filtering by property, type, status, and other criteria.

- Type: search · Key: `assessments`
- Requires: nothing
- Optional: limit, page, assessment, property, type, performed, status, includeflags, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "assessments" })`
- CLI: `npx zapier-sdk run-action riskbase search assessments`

##### Find Assessment Schedules
Search for assessment schedules with filtering by property, type, and status.

- Type: search · Key: `assessment_schedules`
- Requires: nothing
- Optional: limit, page, property, type, status, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "assessment_schedules" })`
- CLI: `npx zapier-sdk run-action riskbase search assessment_schedules`

##### Find Assessment Types
Retrieves all available assessment types from Riskbase.

- Type: search · Key: `assessment_types`
- Requires: nothing
- Optional: filterName, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "assessment_types" })`
- CLI: `npx zapier-sdk run-action riskbase search assessment_types`

##### Find Property or Create
Finds a property or creates it and returns it if it does not exist using the customReference to search.

- Type: search · Key: `find_or_create_property`
- Requires: name
- Optional: property, parent, property_reference, customreference, line1, line2, city, county, postcode, skipwebhook, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "find_or_create_property" })`
- CLI: `npx zapier-sdk run-action riskbase search find_or_create_property`

##### Find or Create User
Finds or creates a user based on their email/username.

- Type: search · Key: `find_or_create_user`
- Requires: email, active
- Optional: forename, surname, customReference, value, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "find_or_create_user" })`
- CLI: `npx zapier-sdk run-action riskbase search find_or_create_user`

##### Find Plans
Finds plans, with the option of filtering by property ID.

- Type: search · Key: `plans`
- Requires: nothing
- Optional: property, limit, page, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "plans" })`
- CLI: `npx zapier-sdk run-action riskbase search plans`

##### Find Plan Details
Finds details for a specific plan, including file content, based on its ID.

- Type: search · Key: `plan_details`
- Requires: nothing
- Optional: plan, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "plan_details" })`
- CLI: `npx zapier-sdk run-action riskbase search plan_details`

##### Find Properties
Search for properties by ID, custom reference, or retrieve all properties with optional filtering.

- Type: search · Key: `properties`
- Requires: nothing
- Optional: property, property_reference, customreference, limit, property_reference_filter, include_empty_reference, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "properties" })`
- CLI: `npx zapier-sdk run-action riskbase search properties`

##### Find Property Groups
Gets all property groups, with filtering by different criteria.

- Type: search · Key: `property_groups`
- Requires: nothing
- Optional: name, limit, page, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "property_groups" })`
- CLI: `npx zapier-sdk run-action riskbase search property_groups`

##### Find Property Team
Finds a Property Team, based on name of the property group.

- Type: search · Key: `property_team_users`
- Requires: nothing
- Optional: property, user, includeinherited, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "property_team_users" })`
- CLI: `npx zapier-sdk run-action riskbase search property_team_users`

##### Find Property Tree
Returns all property trees within the organisation.

- Type: search · Key: `property_tree`
- Requires: nothing
- Optional: all_property_trees, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "property_tree" })`
- CLI: `npx zapier-sdk run-action riskbase search property_tree`

##### Find Users
Finds RiskBase users based on their email or ID. A RiskBase user includes those added by the admin dashboard

- Type: search · Key: `riskbase_users`
- Requires: nothing
- Optional: matchEmail, matchID, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "riskbase_users" })`
- CLI: `npx zapier-sdk run-action riskbase search riskbase_users`

##### Find Groups (SCIM)
Finds groups based on their ID or display name, with options for how to sort any results using SCIM.

- Type: search · Key: `scim_groups`
- Requires: nothing
- Optional: matchID, matchDisplayName, startIndex, count, sortBy, sortOrder, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "scim_groups" })`
- CLI: `npx zapier-sdk run-action riskbase search scim_groups`

##### Find Users (SCIM)
Finds users, with options to filter based on their email or ID using SCIM.

- Type: search · Key: `scim_users`
- Requires: nothing
- Optional: matchEmail, matchID, startIndex, count, sortBy, sortOrder, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "scim_users" })`
- CLI: `npx zapier-sdk run-action riskbase search scim_users`

##### Find Tasks
Find tasks with filtering by status, property, pagination, and optional inclusion of related data (users, teams, categories, severities, timescales).

- Type: search · Key: `task`
- Requires: nothing
- Optional: id, limit, page, status, property, includeusers, includeteams, includecategories, includeseverities, includetimescales, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "task" })`
- CLI: `npx zapier-sdk run-action riskbase search task`

##### Find Task Statuses
Gets a list of all task status names.

- Type: search · Key: `task_statuses`
- Requires: nothing
- Optional: showAll, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "task_statuses" })`
- CLI: `npx zapier-sdk run-action riskbase search task_statuses`

##### Webhook Processor
Handles create, update, and delete webhooks from Riskbase and pulls out the affected object based on the type and id provided for a raw webhook response.

- Type: search · Key: `webhook_details`
- Requires: nothing
- Optional: type, id, propertyId, typeId, organisation
- SDK: `runAction({ app: "riskbase", actionType: "search", action: "webhook_details" })`
- CLI: `npx zapier-sdk run-action riskbase search webhook_details`

## Frequently asked questions about automating with Sub-Zap by Zapier and RiskBase

### 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
- Sub-Zap by Zapier integrations: zapier.com/apps/sub-zap-by-zapier/integrations.md
- RiskBase integrations: zapier.com/apps/riskbase/integrations.md
- Full page: zapier.com/apps/sub-zap-by-zapier/integrations/riskbase
- SDK: npmjs.com/package/@zapier/zapier-sdk