Centro Lightning Web Components Design-Time Properties
Centro Lightning Web Components Linked Conversation
The following design-time properties enable various functions and features that enhance user experience.
- Allow users to link conversations - When enabled, the LWC allows end users to connect the Salesforce record to new or existing conversations.
- Channel name formula - When creating a Channel, the name may default to a value from a custom formula field. Formula fields will display from the Search icon.
- Allow public and private channels - When enabled, the end user can create both public and private channels from the LWC.
- Remind to archive channel by default - The days entered will display as the default number of days before the channel is considered inactive. The days can be adjusted by the end-user when the channel is created.
- Show conversations related to the Account - When enabled, the child records with link conversations will display, such as Opportunity, Cases, and Contact.
- Show conversations related by Email - When enabled, on the Lead or Contact page layout, additional channels will display that are linked by the Email address field.
- Enable Grok quick relies - When enabled, Grok, an AI helper, will suggest four replies based on the conversation transcript. This feature is available in trial and requires a Grok entitlement after the trial.
- Enable Multiple Workspaces - When enabled, Slack Org with Enterprise Grid allows the LWC to work with multiple Workspaces. The Workspace can be selected when the end user creates or search for a channel to link.
- Require User Auth - When enabled, Slack users must be signed in to message within the LWC; when disabled, the messages are sent through a proxy from the Centro bot.
- Avatar Override URL - When Require User Auth is disabled, Centro supports the ability to customize the avatar displayed in Slack when non-Slack authorized users publish message. URL must be publicly available.
- Use Name Override - When Require Auth is disabled, use static display name if left blank Salesforce User Full Name is used. This property supports using an expression to define its custom label. Text is accepted into this field.
- Always Send as Bot - When enabled, Slack will display the Salesforce username, and avatar will be used for unauthenticated and authenticated users. This feature requires User Auth to be disabled.
When the above selections are made, the message in the design-time properties of the Linked Conversation LWC the output message in Slack display as below.
Centro Lightning Web Components Single Conversation
The following design-time properties enable various functions and features that enhance user experience.
- Slack ChannelId/UserId Custom Field - Enter the Text Custom Field used to Save the Channel or User Id for the record.
- Thread TS Field - Enter the Text Custom Field to Save the TS (TimeStamp) used to display a threaded slack conversation.
- Component Label - If empty, the Component Label will be that of the "Slack ChannelId/UserId Custom Field." This property supports using an expression to define its custom label.
Common Use Cases: Single Conversation LWC displays a thread message related to a Case where all Cases are managed in a single triage channel. This use case requires the Salesforce Admin to create a custom field to store the ChannelId and the Thread TS on the target object to have the LWC populate with the correct thread.
- Allow Edit - When enabled, users can edit conversations that are displayed.
- Allow Public Conversations - When enabled, it allows Salesforce users to select and view public channels. Slack users can message if they signed in.
- Allow Private Conversations - When enabled, it allows Salesforce users to select and view private channels. Slack users can message if they signed in.
- Allow DM Conversations - When enabled, allows Salesforce users to direct message, Slack users if Slack users are signed in.
- Enable Multiple Workspaces - When enabled, Slack Org with Enterprise Grid allows the LWC to work with multiple Workspaces. The Workspace can be selected when the end user creates or search for a channel to link. The Workspace can be selected when the end user creates or searches for a channel to link or create.
- Enable Preview - When enabled, allows for the conversations to be viewed by Salesforce Users. The "Allow Public or Private Conversations" design-time properties control the availability of which conversations.
- Require User Auth - When enabled, Slack users must be signed in to message within the LWC; when disabled, the messages are sent through a proxy from the Centro bot.
- Avatar Override URL - When Require User Auth is disabled, Centro supports the ability to customize the avatar displayed in Slack when non-Slack authorized users publish messages. URL must be publicly available.
- Use Name Override - When Require Auth is disabled, use a static display name if left blank, Salesforce User Full Name is used. This property supports using an expression to define its custom label. Text is accepted into this field.
- Always Send as Bot - When enabled, Slack will display the Salesforce username, and the avatar will be used for unauthenticated and authenticated users. This feature requires User Auth to be disabled.
When the above selections are made, the message in the design-time properties of the Single Conversation LWC the output message in Slack display as below.