AskNicely released version 2 of its Salesforce integration in November 2017. This new version was built as a managed package, which allows future updates to be automatically pushed to clients. However, clients who started using the Salesforce integration prior to November 2017 received version 1.6, and action is required of clients who wish to upgrade.
There are two upgrade paths available:
- Switch to the new managed package. (Recommended)
- Add some features without changing packages.
Option 1: How to switch to the new package
This is an upgrade process that should be planned and performed together with AskNicely Support. This is the recommended approach, as it will give you full functionality and automatic updates.
The process is as follows:
- You install our v2 managed package, which adds our v2 custom object and contact fields.
- We switch to sending new responses to the v2 "AskNicely Response" custom object and Contact fields instead of the v1 "Asknicely" custom object and Contact fields.
- We then re-send the past responses to that v2 object and fields.
- You update your Salesforce layouts to display the v2 object and fields instead of the v1 fields.
- You update any reports, workflows, processes, etc that referenced the v1 object and fields to instead use the v2 data.
Option 2: How to add features to the old package
If you are not ready to switch to the new package, you may choose to add some features manually. This means you will not receive automatic updates, but your existing layouts, reports, workflows, etc will be preserved. Much functionality of V2 can be added this way, except for the AskNicely Dashboard and account NPS.
To perform these steps you’ll need a Salesforce login with sufficient privileges. You will also need to log in to AskNicely.
The step-by-step procedure for this is as follows:
- Log in to Salesforce, if you have not already done so.
- Click in the top-right to enter the Setup area.
- Open the Object Manager.
- Select the Contact object.
- Select Fields & Relationships
- Use the <New> button to add the following fields:
- Type: Text, Field Label: NPS Survey Tag, Length: 255, Field Name: NPS_SurveyTag
- Type: Date/Time, Field Label: NPS Last Responded, Field Name: NPS_Last_Responded
- Go back to the main Object Manager page.
- Select the Asknicely object.
- Select Fields & Relationships
- Use the <Next> button to add the following fields:
- Type: Checkbox, Field Label: Do not contact, Field Name: dontcontact
- Type: Number, Field Label: NPS calc, Length: 1, Decimal Places: 0, Field Name: npscalc
- Type: Number, Field Label: questioncontactid, Field Name: questioncontactid, Tick “Unique”, Tick “External ID”
- Type: Text, Field Label: Segment, Length: 255, Field Name: segment
- Type: Date/Time, Field Label: Survey Sent, Field Name: surveysent
- Type: Text, Field Label: Tag, Length: 255, Field Name: Tag
- Trigger AskNicely to download the information about your custom fields by doing the following:
- Log in to AskNicely.
- Click the gear in the top right and select “Integrations”.
- In the left column, find and click “Salesforce”.
- Select the “Updates” tab.
Note: If a field is configured incorrectly, no data will be sent to that field. Please confirm data is arriving as expected within Salesforce after making these changes.