# Create Status — Podio

> Creates a status to the given workspace. See the documentation

- Key: `podio-create-status`
- Type: Action (Write)
- Version: 0.0.3
- App: Podio (`podio`) — https://pipedream.com/apps/podio.md
- This page (HTML): https://pipedream.com/apps/podio/actions/create-status
- Hints: open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/podio/actions/create-status/create-status.mjs

## Description

Creates a status to the given workspace. [See the documentation](https://developers.podio.com/doc/status/add-new-status-message-22336)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `orgId` | `string` | Yes | An ID identifying the organization Options are loaded from the connected account. |
| `spaceId` | `string` | Yes | An ID identifying the space Options are loaded from the connected account. |
| `alertInvite` | `boolean` | No | True if any mentioned user should be automatically invited to the workspace if the user does not have access to the object and access cannot be granted to the object. Default value: false |
| `value` | `string` | Yes | The actual status message |
| `embedId` | `string` | No | The id of an embedded link that has been created with the Add an embed operation in the Embed area |
| `embedUrl` | `string` | No | The url to be attached |
| `question` | `string` | No | Any question to be attached. Must be a valid JSON object, e.g. {"text": "Some Question?","options": ["option1", "option2",...]} |

## Run it

**MCP**

```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": "podio",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "podio-create-status",
  arguments: {
    orgId: "Organization ID",
    spaceId: "Space ID",
  },
})
```

**TypeScript**

```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: "podio-create-status",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    podio: { authProvisionId: "apn_xxxxxxx" },
    orgId: "Organization ID",
    spaceId: "Space ID",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "podio-create-status",
    "configured_props": {
      "podio": { "authProvisionId": "apn_xxxxxxx" },
      "orgId": "Organization ID",
      "spaceId": "Space ID"
    }
  }'
```

---

- App: https://pipedream.com/apps/podio.md · All apps: https://pipedream.com/apps
