functions.completeSuccess
method
Welcome to the new home of Slack developer docs!
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
This method marks a custom function as completed. It accepts the output object that conforms to the output parameters schema for a given custom function defined in the manifest.
Output parameters schema
"output_parameters": {
"properties": {
"customer_id": {
"type": "string",
"description": "The customer's ID"
}
},
"required": ["customer_id"]
}
Output object
{
"customer_id": "U0BPQUNTA"
}
Read our guide to app manifests to learn how create or reuse them.