Centro Merge Tags for Centro Forms
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 Case |
Example 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 action |
UT3E79HW (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 message |
User name of the author of a message |
[[message_user]] |
Contains the Slack User ID of the author of a message |
UT3E79HW (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. |
[[apiname]] |
API Name of Custom Button that was clicked to invoke the form |
Text |