Send PeopleVine Data to Salesforce in Real-Time

With our Salesforce integration, you have the ability to send data direct to Salesforce via our webhook engine.


Follow this tutorial to see how to sync your data with Salesforce via our Webhook engine.  This is great for outbound and of course our API is best for inbound data (but the inbound would require development from your Salesforce dev shop). 

There are a few steps to getting this started:

  1. In your Salesforce account, go to the Setup menu (found by clicking the Settings icon)

  2. Go to the Platform Tools > Apps > App Manager and create a new Connected App
  3. Enter the basic information with PeopleVine's contact info (this is more for your reference)

  4. Under the API section, select Enable OAuth Settings,
  5. enter the callback URL as https://control.peoplevine.com/admin_authenticate_salesforce.aspx (change .com to .co.uk for Region 2)
  6. select the scopes as:
    1. Access and manage your data (API)
    2. Perform requests on your behalf at any time (referesh_token, offline_access)

  7. and lastly check require secret for web server flow.  Then hit save.
  8. Once your app is created, you can view the app settings.  Here's you'll find the Consumer Key and the Consumer Secret.  Grab these items as you will need to add them to PeopleVine.


Now login to PeopleVine:

  1. Go to the settings menu in PeopleVine and click on Integrated Platforms
  2. Scroll to find the Salesforce logo
  3. Copy the Consumer Key and the Consumer Secret

  4. Once you have entered this info, click on Connect.  
  5. You will now be prompted to enter your Salesforce credentials to complete the authentication

If everything is successful, you will get a confirmation alert at the top of the screen.


Now that your'e connected, you can setup Webhooks to send data to Salesforce:

  1. Click on Automate > Webhooks > Setup New Webhook
  2. Select the activity to trigger (e.g. Customer Registers)
  3. Compelte the webhook settings and enter the URL for your specific Salesforce instance (this allows you to push data to custom tables) (e.g. https://xxxxxxxxxxxxx.my.salesforce.com/services/data/v48.0/sobjects/Contact/)
  4. Select to use your Salesforce user credentials

  5. Enter your header object to pull in the token
    Authorization: Bearer {@authenticate_guid@}

  6. Then enter the body mapping PV fields to Salesforce fields.
  7. Save the webhook and give it a try.  Please note that Salesforce has certain field requirements, you can achieve these with our HAPI language.

Here are some sample webhook mappings:

New Customer in PV Mapped to Contact in SF

{
"FirstName": "",
"LastName": "",
"Email": "",
"Birthdate": "{@birthdate:date(yyyy-MM-dd)@}",
"Phone": "",
"MailingCity": "",
"MailingCountry": "",
"MailingPostalCode": "",
"MailingState": "",
"MailingStreet": " ",
"MobilePhone": ""
}

New Member in PV mapped to Opportunity in SF

{
"Amount__c": "{@subscription_rate@}",
"Autorenewing__c": {@auto_charge:boolean@},
"Billing_Address_Type__c": "Home",
"Billing_City__c": "{@card.city@}",
"Billing_Country__c": "{@card.country@}",
"Billing_Postal_Code__c": "{@card.zip_code@}",
"Billing_State__c": "{@card.state@}",
"Billing_Street_1__c": "{@card.address1@}",
"Billing_Street_2__c": "{@card.address2@}",
"Birthdate__c": "{@customer.birthdate:date(yyyy-MM-dd)@}",
"Company__c": "{@customer.company_name@}",
"Email_Address__c": "{@customer.email@}",
"First_Name__c": "{@customer.first_name@}",
"Last_Name__c": "{@customer.last_name@}",
"Membership_Level__c": "{@service.service_title@}",
"Newsletter_Signup__c": {@customer.opt_in_email:boolean@},
"Primary_Phone__c": "{@customer.mobile_number@}",
"Primary_Phone_Type__c": "Mobile",
"Secondary_Phone__c": "{@customer.phone_number@}",
"Secondary_Phone_Type__c": "Home",
"Shipping_Address_Type__c": "{@customer.address@}",
"Shipping_City__c": "{@customer.city@}",
"Shipping_Country__c": "{@customer.country@}",
"Shipping_Postal_Code__c": "{@customer.zip_code@}",
"Shipping_State__c": "{@customer.state@}",
"Shipping_Street_1__c": "{@customer.address@}",
"Shipping_Street_2__c": "{@customer.address2@}",
"Stripe_Charge_Id__c": "",
"Stripe_Customer_Id__c": "",
"Stripe_Subscription_Id__c": "{@subscription_no@}",
"Title__c": "{@company_title@}"
}

Additional Help Tutorials

Find more ways to grow on PeopleVine.

Configure Salto to Work with Peoplevine Check-In

Follow these steps to configure your Salto to auto Check-In members when they use a Salto keycard.

Posted January 12, 2024

Detailed Member Statements & Billing

Unveiling Peoplevine's Member Statements & Billing feature: a comprehensive tool ensuring utmost transparency, simplicity, and efficiency in every financial transaction for both members and operators.

Posted September 28, 2023

New and Improved Timeline View

Dive into Peoplevine's My Schedule Timeline View: a feature designed to bring unmatched convenience and clarity to members' and guests' schedules, centralizing everything from dining to events.

Posted September 28, 2023

Spa & Wellness Booking with Book4Time Integration

Experience the perfect synergy of Peoplevine and Book4Time: a collaboration that transforms spa and wellness bookings, merging front-end engagement with backend efficiency.

Posted September 28, 2023

Going Global

Discover how PeopleVine's "Global Network" solution is set to revolutionize the hospitality industry by unifying brand experiences across multiple properties, whether globally or within a local region, offering members a seamless digital experience and granting operators unparalleled insights.

Posted September 28, 2023

Override the Guest Pass E-mail with Template

You can replace the e-mail sent to a guest when a guest pass is issued while retaining the necessary links to ensure they can activate it.

Posted September 27, 2023

Transaction Reporting has an Upgrade

We updated the Transaction Reporting screen to provide you with the data necessary to provide a glimpse at your revenue and the necessary data to audit your financials.

Posted September 7, 2023

You Can Set the Time to Process Authorizations

When a charge is processed through your POS, the charge may be Authorized until we capture the tip or at the end of day to handle refunds or changes. In this case, you can now set the time as to when we will process your authorizations.

Posted August 28, 2023

Adding Your Alliants Integration

Follow these steps to connect Peoplevine with your Alliants account for messaging.

Posted August 28, 2023

Setup Your Membership Tiers Based on Age

You can enable your membership tier to be for members between certain ages, when they past that age, they will automatically migrate to the next age tier.

Posted August 22, 2023

Follow these steps to update your Twilio settings to ensure delivery

This article will overview how to setup your brand and campaigns for broader/better delivery.

Posted August 10, 2023

Select Which Transaction Types You Want to Sync with Quickbooks

You're able to select which types of transaction items you want to sync to Quickbooks.

Posted June 14, 2023

Configure your Member Portal to Show Spa and Wellness

Once your Spa and Wellness feature is enabled, you need to configure the following to display on your member portal.

Posted June 14, 2023

Setup a Temporary ID for Hotel Guests

You can allow hotel guests to act as a member during their time at your property by leveraging these settings.

Posted May 23, 2023

© Peoplevine 2024. Powered by PeopleVine. Terms of use | Privacy & cookies