# iAuditor by SafetyCulture — Pipedream Connect

> SafetyCulture (iAuditor) is an inspection, issue capture and corrective action platform for teams that’s used over 50,000 times a day in over 85 countries.

- API slug: `iauditor_by_safetyculture` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Productivity
- Website: https://safetyculture.com/iauditor/
- This page (HTML): https://pipedream.com/apps/iauditor-by-safetyculture
- Tools: 9 actions · 2 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: iauditor_by_safetyculture`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "iauditor_by_safetyculture",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Inspection:
const result = await mcp.callTool({
  name: "iauditor_by_safetyculture-create-inspection",
  arguments: {
    templateId: "Template",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a iAuditor by SafetyCulture endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.safetyculture.io/share/connections

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuc2FmZXR5Y3VsdHVyZS5pby9zaGFyZS9jb25uZWN0aW9ucw?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "iauditor_by_safetyculture-create-inspection",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    iauditor_by_safetyculture: { authProvisionId: "apn_xxxxxxx" },
    templateId: "Template",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (9)

### `iauditor_by_safetyculture-create-inspection` — Create Inspection (Write)

Create a new inspection in iAuditor by SafetyCulture. See the documentation

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/create-inspection.md

### `iauditor_by_safetyculture-create-user` — Create User (Write)

Create a new user in iAuditor by SafetyCulture. See the documentation

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/create-user.md

### `iauditor_by_safetyculture-export-inspection` — Export Inspection to PDF or Word (Read-only)

Retrieve an inspection report formatted as a PDF or Word (docx) document.See the documentation

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/export-inspection.md

### `iauditor_by_safetyculture-generate-pdf-report` — Generate PDF Report (Read-only)

Retrieve the web report link for the specified inspection. This will return the existing link if one has been generated before, or generate a new one if one does not exist already. See the documentation

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/generate-pdf-report.md

### `iauditor_by_safetyculture-list-group-id-options` — List Group Options (Read-only)

Retrieves available options for the Group field.

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/list-group-id-options.md

### `iauditor_by_safetyculture-list-inspection-id-options` — List Inspection ID Options (Read-only)

Retrieves available options for the Inspection ID field.

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/list-inspection-id-options.md

### `iauditor_by_safetyculture-list-template-id-options` — List Template Options (Read-only)

Retrieves available options for the Template field.

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/list-template-id-options.md

### `iauditor_by_safetyculture-share-inspection` — Share Inspection (Write)

Share an inspection with one or more users in iAuditor by SafetyCulture. See the documentation

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/share-inspection.md

### `iauditor_by_safetyculture-update-user` — Update User (Write)

Update an existing user in iAuditor by SafetyCulture. See the documentation

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/actions/update-user.md

## Triggers (2)

### `iauditor_by_safetyculture-action-created` — Action Created (Instant)

Emit new event when a new action is created.

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/triggers/action-created.md

### `iauditor_by_safetyculture-inspection-completed` — Inspection Completed (Instant)

Emit new event when an inspection has completed.

Full schema: https://pipedream.com/apps/iauditor-by-safetyculture/triggers/inspection-completed.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
