Slack: Update Profile
Update the user's Slack profile fields via native OAuth integration (requires user token). Can set first name, last name, display name, title, and phone. Ideal for: profile synchronization, onboarding automation, directory updates.
Catalog action Integrations slack
Update the user's Slack profile fields via native OAuth integration (requires user token). Can set first name, last name, display name, title, and phone. Ideal for: profile synchronization, onboarding automation, directory updates.
At a Glance
| Field | Value |
|---|---|
| Action ID | slack-update-profile |
| Category | Integrations |
| Connector | slack |
| Requires gas | No |
| Funds movement | None declared |
| Tags | slack, integration, write, team |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
first_name | string | No | First name |
last_name | string | No | Last name |
display_name | string | No | Display name |
title | string | No | Job title |
phone | string | No | Phone number |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | - |
data | object | No | - |
Examples
json{ "type": "slack-update-profile", "payload": { "first_name": "example-first_name", "last_name": "example-last_name", "display_name": "example-display_name", "title": "example-title", "phone": "example-phone" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/slack-update-profile/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "first_name": "example-first_name", "last_name": "example-last_name", "display_name": "example-display_name", "title": "example-title", "phone": "example-phone" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
