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
  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.

Splitting Checks and Payments with Micros Simphony and Peoplevine Memberships

Learn how to split checks amongst multiple members and/or guests and allow for multiple different payment types.

Posted October 20, 2021

Stripe V2 Integration Supports Native Tokenization and 3D Secure Payments

With our latest release of our Stripe integration, we are introducing our v2 that provides Stripe native tokenization along with support for 3D secure on the first payment capture.

Posted October 19, 2021

Renew Someone's Failed Subscriptions (with add-ons) in One Charge After it Fails

Some of you know the painpoint of renewing someone's subscription that recently failed and they have multiple items on their subscription. This article explains about a new feature that allows you to charge those in one lump sum.

Posted September 23, 2021

Allow Members and Guests to Book Spa Appointments with Book4Time in Our Latest Integration

With our latest integration to Book4Time, we provide real-time availability, crm sync and more to provide the best experience possible for your members and guests.

Posted August 24, 2021

Get an Alert When Members Pay their Invoices

Of course you can monitor your A/R on a daily basis, but that's tedious and sometimes disappointing. With our latest alert, you can get notified when someone pays an invoice.

Posted August 24, 2021

Build a Survey Application and Answer it on Your Site or App

Are you looking to leverage our tools to manage your CRM and applications, but want to build a custom experience for capturing the responses to an application in Peoplevine?

Posted August 20, 2021

Include a Link to Download Their Membership Card

This quick snippet will help you setup a button to click and take them to their membership card to download.

Posted August 18, 2021

Submit a Survey Response from Your Website

Connect your existing website to our platform by submitting the survey response direct to our JSON.

Posted August 17, 2021

We will Automatically Retry Subscriptions that Failed 3 Days Ago and 7 Days Ago

In an effort to ensure you don't lose funds from members who's card failed during their recurring billing, our system will automatically retry the payment 3 day and 7 days after the first fail.

Posted August 13, 2021

Allow People to Pay at /Charge or /NOT with our New Setting

We added a new setting that requires you to enable the out-of-the-box /charge/# (where # is a dollar amount to charge someone e.g. /charge/10.25 for $10.25).

Posted July 31, 2021

Add Your Own SMS Provider (Currently Working with Twilio)

Add your own SMS provider by providing your own Twilio credentials to leverage your account for sending and receiving messages.

Posted July 30, 2021

Use Auth0 Single Sign On Technology with Peoplevine

You can have your members SSO into your member portal by routing them through Auth0.

Posted July 29, 2021

Issue a Set of Perks to All Members - Great for Special and Last Minute Perks

Looking to bring spike your business? Leverage our feature to re-issue one-time perks to all members in two clicks.

Posted July 29, 2021

Using Adyen as Your Payment Gateway

We support an integration with Adyen, a leader in payments in Europe, to process credit cards for all types of transactions including recurring billing, F&B, merch, event tickets and much more. This article will help you get things setup.

Posted July 20, 2021

Updated Affiliate Reporting for More Visibility and Accuracy

We recently updated our Affiliate engine with more detailed and actionable reporting to help you service your affiliates better and pay them sooner.

Posted July 13, 2021

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