Centro Support Center

Contact Us

How to Create a Centro Form for Microsoft Teams to Create Cases in Salesforce

UOverview

This guide will walk you through setting up a Centro form in Microsoft Teams to create cases in Salesforce. 


Step 1: Accessing the Centro App

  1. Open Microsoft Teams.

  2. Navigate to the Centro App.

  3. Click on the Home tab.

  4. From here, you can configure your Centro Forms.

Centro Forms allows you to create or edit Salesforce objects directly within Microsoft Teams.


Step 2: Creating a Centro Form

  1. Click on Create New Form or edit an existing one.

  2. Provide:

    • Name: Identify the form.

    • Label: A user-friendly label.

    • Help Text: Additional guidance for users.

  3. Select the Case Object in the Salesforce Object 

  4. To add a field:

    • Click the Dropdown Menu to select a field.

    • Click the Plus Sign (+) to add it.

    • Choose whether to display or hide the field.

    • Displayed Fields: Fields visible to the user.

    • Hidden Fields: Fields with predefined values. 

  5. Select the Case Origin & MS Teams User Id Field field

    • Move the Case Origin field to the Hidden Section and set the value to Teams

    • Move the MS Teams User Id field to the Hidden Section and set the value to [[user_id]]

  6. To modify fields:

    • Click the Edit (Pencil) Icon to update a field.

    • Click the Trash Can Icon to remove a field.

  7. Click Save once the configuration is complete.


Step 3: Connecting the Form to Microsoft Teams Automation

  1. Navigate to Workflow Setup.

  2. Select the Create Case Message Shortcut and select Enable.

  3. Select the Centro Form you just created.

  4. Optionally, configure a Platform Event for advanced automation.

  5. Once completed, your form will be available as a shortcut in:

    • Direct Messages (DMs)

    • Multi-person Chats

    • Team Channels


Step 4: Configuring Salesforce Automation

  1. Set up a Record-Triggered Flow:

    • Trigger: When a new Case Object is created.

    • Condition: Case Origin is set to Teams.

  2. Run the process as an Asynchronous Path to ensure successful communication with Teams.

  3. Define necessary variables:

    • Team Members Collection: Set as text using the Add Operator.

    • You can either hardcode the Group ID (GUID) from Microsoft Teams or populate it dynamically from Salesforce fields.

  4. Retrieve Microsoft Teams Group ID (GUID):

    • Centro provides a user field that stores the GUID.

    • Navigate to the User Record and reference the ID field.


Step 5: Creating a Private DM Between the Agent and Case Creator

  1. Use the Create Conversation and Invite Users flow element.

  2. Define a Formula Name to generate a private DM.

  3. Use the Collection Variable to add users to the channel.

Advanced Options


Conclusion

You have successfully created a Centro Form in Microsoft Teams to create Salesforce cases and set up a private DM between the agent and the case creator.

For further assistance, please reach out to our support team.