Centro Support Center

Contact Us

Centro Forms: Building Centro Forms

Centro Forms

Centro Forms allows Slack Users to create and edit Salesforce records directly from Slack.  Centro Forms can be linked to Centro Workflows such as Message Short Cut, Global Emoji reactions, Custom Slash Commands, Custom Buttons on Record Blocks, etc.   Building Centro Forms requires Centro Admin permissions.  The user needs to be the installing user, a Workspace Admin, or assigned as a Centro Admin in User Setup.  

After building Centro Forms, if the newly created Salesforce record needs to be posted to Slack use the following instructions.



Create New Forms


Adding Fields to Forms

Scroll down to add the necessary Fields to your Centro Form.




Merge Tags

Centro provides several merge tags for pre-populating fields in the hidden area or displayed area. Please note these will only work on Centro Forms, not Workflow Builder Step forms. See below for a description of each. Simply type the merge tag into the field as shown below. These can also be used in the Post Record option. 

Merge Tag Description & Use CaseExample Use/Output
[[channelid]]Used for linking Channel Post Record Block to Salesforce Record, or for which channel to post to.
[[message_ts]]Used for linking the Thread to the Salesforce Record, or if the record block should post to the Thread in Slack. Can also be used to set a default value for a date field to the date message was sent.
[[recordid]]If set to the ID field on a Form, sets the Form to be in Edit mode. Can be used on a Post record step for linking and posting the Record block to Slack
[[message]]If action is based on a message (emoji reaction or message shortcut), returns the text of the Slack message. Plain text of the Slack Message
[[userid]]Contains the Slack User ID of the person who invoked the actionUT3E79HW (Slack User ID)
[[user_email]]Contains the email of the User as defined on their Slack profile. Only of the person who invoked the action. Does not work if emails in profile has been disabled in the org, and will not work in Slack Connect. Email address of the invoking user
[[username]] Contains the Slack User Name (not the Display name) as defined on the user profile of the user invoking an action. Ryan Hitchler
[[message_user_email]]Contains the email of the User as defined on their Slack profile. This is of the person who posted a message, not invoked the action. Typically used if trying to capture the metadata of a message poster. Does not work if emails in profile has been disabled in the org, and will not work in Slack Connect.Email of the author of a message
[[message_username]]Contains the Slack User Name (not the Display name) as defined on the user profile of the user who authored a messageUser name of the author of a message
[[message_user]]Contains the Slack User ID of the author of a messageUT3E79HW (Slack user id who authored a post)
[[now]]Current date used to set a field default value.2024-02-21T19:19:54.338Z
[[linked_accountid]]Salesforce Account Id of most recently linked record to Slack conversation. Use this to preset a lookup to an Account.0016g000023dwNqAAI
[[linked_recordid]]Salesforce record Id from most recently linked record to Slack conversation. Use this to present a lookup to a Salesforce record.500Pj000004ovGzIAI
[[question]]Ask Grok question that was asked in attempt to deflect Case form.Text of question
[[answer]]Ask Grok answer that was generated in attempt to deflect Case form.Text of answer
[[relevancy]]Ask Grok answer relevancy score of the most relevant internal knowlege article that was used as a source in AI generated answer.Relevancy between 0-100 of most relevant source.
[[sources]]List of URL sources that were used in AI generated answer.Newline delimited list of URLs
[[topic_name]]Ask Grok Topic Name that was used to reference internal knowledge to deflect Case form.Text Topic Name that knowledge were embedded with.


File Upload

It is possible to prompt at the time of the form fill to Upload Files along with creating the Case:

Users can add up to 5 files, as long as they are under 10MB in size each. Most file types are supported:

On Save, the files will save to Files of the Salesforce Case: 

If the Centro Form is configured to Post the Record Block to a Channel or Thread, the files will also post in that Thread: