Skip to main content

add_pin

Facts​

DescriptionPin a message to a channel
SchemaSchema.slack.functions.AddPin
Schema referenceslack#/functions/add_pin
Required scopes

Input Parameters​

Required Input Parameters

channel_idSchema.slack.types.channel_idRequired

The conversation ID for the channel you are pinning the message to

Examples
C123ABC456
D123ABC456
messageSchema.types.stringRequired

The URL or message timestamp of the message you are pinning

Examples
1355517523.000005
https://workface.slack.com/archives/CAZPFJXGD/p1676920733028759

Output Parameters​

Usage info​

Example workflow step​

const addPinStep = ExampleWorkflow.addStep(
Schema.slack.functions.AddPin,
{
channel_id: "C123ABC456",
message: "1645554142.024680",
},
);