Availability All Editions
Learn how to configure the Meisterplan Connector for Salesforce to automate importing and updating projects in Meisterplan.
Prerequisites
You must have installed the connector package. Download and install it here: appexchange.salesforce.com/appxListingDetail?listingId=cd7e4291-5109-424d-a783-ce1f93a475dc
Meisterplan
- Required Access Level: Your user account must have the Access Meisterplan APIs and Connect External Applications right.
-
System Configuration:
- API Token: Salesforce connects to Meisterplan via the REST API. Therefore, you need an API token. We recommend creating a dedicated user for the Salesforce integration and granting them the required user rights (see above). Then, log in to this user's account and create the API token.
- Custom Project Field: To import Salesforce opportunities, your Meisterplan system needs to have a custom project field with the API name 'cust_stage_gate'. In Meisterplan trials, this field is usually called 'Stage Gate', 'Stage', or 'Order Status'. Check your Meisterplan system and add a field with this API name if necessary.
Salesforce
- Required Access Level: You need to be a Salesforce System Administrator (or equivalent) with Setup access.
Configuring the Meisterplan Connector for Salesforce
Configure Named Credential
The package uses Named Credential and External Credential to securely store the URL and API token and connect to the Meisterplan REST API.
Enter REST API URL
- Go to Setup > Named Credentials.
- Select Meisterplan (created by the package).
- Click Edit and set the following (if not already set):
- Label: Meisterplan
- Name: Meisterplan
- URL: Enter the Meisterplan REST API URL:
- For systems hosted in the US, the REST API URL is https://api.us.meisterplan.com/v1
- For systems hosted in the EU, the REST API URL is https://api.eu.meisterplan.com/v1
- Enabled for Callouts: Enabled
- External Credential: Select MeisterplanEC from the drop-down
- Generate Authorization Header: Unchecked
- Allow Formulas in HTTP Header: Checked
- Allow Formulas in HTTP Body: Unchecked
- Click Save.
Enter API Token
- Go to Setup > Named Credentials > External Credentials
- Select MeisterplanEC (created by the package)
- Under Principals > Admin Team, click the Actions dropdown and select Edit:
- Under Authentication Parameters, click Add and enter the following:
- Name: API Token
- Value: Meisterplan API token
- Click Save.
Grant Access to External Credential Named Principal
Managed Permission Sets cannot be edited, so we recommend creating a subscriber-owned Permission Set and granting it access to the External Credential Named Principal.
Create a Subscriber Permission Set
- Go to Setup > Permission Sets > New and enter the following:
- Label: Meisterplan Integration NamedPrincipal Access
- API Name (auto-populated): Meisterplan_Integration_NamedPrincipal_Access
- Description: Grants access to the External Credential for Meisterplan integration
- License: None (or as appropriate)
- Click Save
Grant External Credential Principal Access
- In the new Permission Set, open External Credential Principal Access
- Click Edit
- Move MeisterplanEC - Admin Team from the Available External Credential Principals section to the Enabled External Credential Principals section
- Click Save
Assign Permission Sets
Assign Permission Sets to all relevant users who want to access the Meisterplan Connector for Salesforce.
From Users
This is the recommended path.
- Go to Setup > Users > Users
- Open each target user
- Click Permission Set Assignments related list
- Click Edit Assignments
- Move the following from Available Permission Sets to Enabled Permission Sets:
- Meisterplan Integration User (for end users)
- Meisterplan Integration Admin (for administrators)
- Meisterplan Integration NamedPrincipal Access (for both end users and administrators)
- Click Save
From Permission Sets
This is an alternative path to the above path.
- Go to Setup > Permission Sets
- Open Meisterplan Integration User
- Click Manage Assignments > Add Assignments
- Select relevant users
- Click Save
- Repeat for:
- Meisterplan Integration Admin
- Meisterplan Integration NamedPrincipal Access
Note: In some organization/user views, Manage Assignments may not list users due to filters or list view constraints. If you don’t see users there, follow the instructions listed under From Users above.
Update Opportunity Page Layout
In the Opportunity Layout, configure the custom fields that are relevant for the Meisterplan connection.
- Go to Setup > Object Manager > Opportunity > Page Layouts.
- Click your primary page layout name
- Drag & drop a section at the bottom of the existing Opportunity Detail sections to create a new section with the following details:
- Section Name: Meisterplan
- Display Section Header On: Detail Page (checked)
- Layout: 2-Column
- Tab-key Order: Left-Right
- Click OK.
- ‘Quick Find’ the following fields and drag them into the ‘Meisterplan’ section:
- Push to Meisterplan (left column): A Boolean custom field that controls when an Opportunity is pushed to Meisterplan. When set to true, a flow is triggered to perform the necessary action.
-
Meisterplan Project URL (right column): A URL custom field that stores the direct link to the corresponding project in Meisterplan after the Opportunity was successfully pushed.
Note: Other custom fields introduced as part of this integration are listed below. You can configure them as needed:
- Meisterplan Benefit UID: This text field stores the unique internal ID of the benefit financial event in the corresponding Meisterplan project that is derived from the Opportunity Amount. It is used in order to perform the integration.
- Push Flag Auto: This Boolean field indicates whether the Opportunity push to Meisterplan was triggered manually or automatically. The value is reset at the end of each push operation. It is used in order to perform the integration.
- Was Transferred. This formula field indicates whether an Opportunity has been pushed to Meisterplan. It can be used for quick filtering in list views.
- In the Related Lists area, ‘Quick Find’ Meisterplan Integration Logs Related List Name and move it to the bottom, after all other related lists.
- Click the wrench icon above the related list and in the Related List Properties dialog:
- Select the following columns from the Available Fields section. Add them to the Selected Fields section
- Created Date
- Status
- Message
- Select the column Meisterplan Integration Log Name from the Selected Fields section and Remove them to put them in the Available Fields section
- Select the following columns from the Available Fields section. Add them to the Selected Fields section
- Confirm the Changes and save the layout.
Note: Meisterplan Integration Logs is a custom object that stores status messages and error details for each related Opportunity. The custom object includes the following custom fields:- Opportunity: A lookup (Opportunity) field that links the log record to a specific Opportunity.
- Status: A picklist field that indicates whether an integration operation succeeded or failed.
- Message: A long text area field that stores integration status messages and error messages.
Related List view of Meisterplan Integration Logs from within an Opportunity Layout:
The consolidated Meisterplan Integration Logs can also be viewed in the App Launcher > Meisterplan > Meisterplan Integration Logs tab:
Configure Integration Settings in the Meisterplan Connector for Salesforce
Open the Integration Settings
- Go to App Launcher > Meisterplan:
- Click the Integration Settings tab, and ensure the following sections are available:
- Connection
- Field Mappings
- Sync Rules
Test Connection
- In the Connection section, click the Test Connection button to verify connectivity to Meisterplan:
Note: Refer to the Troubleshooting section below if the Test Connection returns a Not Connected notification. - Click the Rotate Token button to quickly navigate to the Named Credentials list, for adding or updating the Meisterplan API Token:
Field Mappings
In the Field Mappings section, activate the Stage → Order Status mapping if the field exists in your Meisterplan system and is relevant for your organization:
Sync Rules
- In the Sync Rules > Initial section, enter the Probability Threshold (%) and multi-select the Qualified Stages as needed for your organization. An opportunity will be synced to Meisterplan when either the Probability meets the threshold as defined in the Probability Threshold (%), or when the Stage meets a designated state in the Qualified Stages picklist:
- In the Sync Rules > Update section, check the listed fields as needed for your organization. After the project is created in Meisterplan, updates are pushed when selected fields change. If no fields are selected, there will only be an initial import without further updates.
- In the Sync Rules > Migration section, enable Migrate existing Opportunities if you want to backfill existing Opportunities into Meisterplan and set Close-Date Cut-off as needed for your organization. Records that meet the Initial rule and with a Close Date on or after the cut-off date are created or updated in Meisterplan when you click the Migrate Now button:
Verify Flows
This integration solution introduces the following flows to enable the creation and update of Opportunities in Meisterplan.
| Flow Label | Description |
| MP PushFlag Initial Template | This flow automatically sets the Push to Meisterplan flag when the initial trigger conditions are met (for example, when the Opportunity Probability reaches or exceeds the defined threshold). It ensures that Opportunities meeting the configured intake criteria are marked for transfer to Meisterplan without requiring manual action. |
| MP PushFlag Update Template | This flow updates the Push to Meisterplan flag when specific monitored fields on the Opportunity change (such as Probability, Stage, Close Date, or other configured fields). It ensures that if an Opportunity becomes eligible for transfer after updates, the flag is set accordingly. |
| MP Push OnFlag Template | This flow runs whenever the Push to Meisterplan flag is set to true. When triggered, it sends the Opportunity data to Meisterplan so that a corresponding project can be created or updated. This flow acts as the final step in the transfer process, ensuring that eligible Opportunities are sent to Meisterplan automatically and without delay. |
- Go to Setup > Flows
- Filter for Flow Labels starting with MP
- Verify that all 3 flows are set to Active
Troubleshooting
Test Connection Returns as Not Connected
- Verify that you configured the correct REST API URL.
- Verify that you entered the correct API Token.
- Verify that the External Credential is granted to access to a Permission Set.
- Verify that the Permission Set is assigned to the user testing the connection.
No Opportunities Pushed to Meisterplan Despite Meeting Trigger Conditions
In rare cases, the Opportunity Initial Push or Update Push flows may not fire as expected when an Opportunity is created or updated. This is due to a known Salesforce platform issue affecting managed package flows (details here: https://salesforce.stackexchange.com/questions/425456/managed-package-error-in-field-names-in-decisions-due-to-namespace-prefix).
Because flows inside a managed package cannot be edited, the package includes editable flow templates. If you notice that Opportunities are not being pushed to Meisterplan, you can quickly recreate the active flows from these templates.
- Create and Activate Flow: MP PushFlag Initial
- Go to Setup > Flows
- Filter for Flow Label Equals: MP PushFlag Initial Template
- Open the flow in Flow Builder
- In the top right, click Save as New Flow
- In the Save as window:
- Flow Label: MP PushFlag Initial
- Flow API Name: MP_PushFlag_Initial
- Click Save
- Back in Flow Builder, at the top right, click Activate
- Go back to the Flows list, select MP PushFlag Initial Template > Actions > View Details and Versions, and click Deactivate Action
- Create and Activate Flow: MP PushFlag Update
- Go to Setup > Flows
- Filter for Flow Label Equals: MP PushFlag Update Template
- Open the flow in Flow Builder
- In the top-right, click Save as New Flow
- In the Save as Window:
- Flow Label: MP PushFlag Update
- Flow API Name: MP_PushFlag_Update
- Click Save.
- Back in Flow Builder, at the top-right, click Activate
- Go back to the Flows list, select MP PushFlag Update Template > Actions > View Details and Versions, and click Deactivate Action