Summary
Create a group in LearnUpon automatically, whenever you create or edit a Group record in Salesforce.
In this example, the only required criteria is the group name on the Group record in Salesforce. You can set up additional criteria to add more details to LearnUpon groups, based on Salesforce Group records.
LearnUpon’s API and the Salesforce integration are available depending on your LearnUpon plan.
See Collection: Salesforce Flow about access permissions and prerequisites for this process.
Step 1. Create the Flow
- From the Salesforce home page, select Setup, aka the gear icon .
- Use Quick Find to search for and open Flow.
- Select New Flow to open the Flows feature.
Step 2. Choose a Trigger
The following screenshot shows New Flow, with Record-Triggered Flow selected.
- Select a specific trigger > Create to start building the flow.
- In Object, select Group.
- In Configure Trigger, choose A record is created or updated.
- In Condition Requirements, choose All Conditions Are Met (AND).
- In Field, find and select Name.
- Set Operator to Does Not Equal.
- In Value, choose $GlobalConstant.EmptyString (Not Null).
- In When to Run the Flow for Updated Records choose Every time a record is updated and meets the condition requirements.
- In Optimize the Flow for: choose Actions and Related Records.
- Select Done to save.
Step 3. Create the Action
This action - creating a group in LearnUpon to match the one in Salesforce - is the response to the trigger in the flow. At a minimum, you need the group name from the Group record. You can add more optional criteria as required. See [LINK to section further down the page].
Tip: When you select the portal where you are creating the user, enter the portal subdomain only. For example, if the portal is myportal.learnupon.com
, enter myportal
.
- Following the trigger, select the plus symbol in the Flow line.
- Select Action.
- In Action search for and select Create a Group in LearnUpon.
- In Label, enter a name for this action.
- In Group title choose $Record > Name or enter {!$Record.Name}.
- In LearnUpon portal (subdomain) to create group in, enter the subdomain as required.
- Select Done to save the changes to the action.
- Select Save to save the flow.
- In Flow Label, enter a name for the flow, and Save to finish.
When you are ready to use the Flow select Activate.
Step 4. Test the Flow - create a group in LearnUpon
Create a test group in Salesforce, to create in LearnUpon through the flow.
- From the Salesforce home page, select Groups.
- Select New.
- Enter a Name for the group.
- Set an Access Type: Public or Private.
- Select Save & Next.
- Optional: upload an image to represent the group.
- Select Next.
- Select +Add to add users to the Group.
- Select if each user is a Member or Manager.
- Select Done.
Step 5. Confirm the new group exists in LearnUpon
To check if the process is creating new groups:
- From your portal's main navigation, go to Groups.
- Search for the group name to confirm it appears in LearnUpon.
Group data you can send from Salesforce to LearnUpon
As part of creating the action, you can set any of the following fields about groups in LearnUpon, based on Salesforce data:
- Description
- Salesforce Account ID: for API logging within Salesforce only
- Salesforce Contact ID: for API logging within Salesforce only
- Salesforce User ID: for API logging within Salesforce only
- SSO sync enabled for this group
Salesforce documentation for reference
Refer to Salesforce’s documentation for full guidance. LearnUpon is not responsible for content off this website.
See: