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.

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

Single Sign On (SSO) Using a JWT Token with Certificate

A new modern way to authenticate your members by leveraging our Single Sign On JWT Token that is validated by an updating certificate.

Posted July 9, 2021

Setup Micros Simphony to Work with Peoplevine

You can setup your Micros Simphony (with Transaction Services enabled) to lookup members, sync orders and take payment direct from the POS.

Posted June 15, 2021

Looking to Upgrade Your Authorize.Net Connection to 2.0 and Get Features Like Card Updater

If you are a legacy Authorize.net user, we recommend you upgrade to v2. It's quick and easy while giving you best in class security along with features like card updater from Authorize.net.

Posted June 14, 2021

You Can Sync Stripe Tokenized Credit Cards to Peoplevine

Do you have customers who added their payment directly in Stripe or from a previous integration? We can import those tokens to their CRM profile for future card on file charges.

Posted June 9, 2021

Set Member Perks to Issue on a Re-occurring Basis and to Sub Members (or not)

With our recent update to our Member Perks engine, you can now set a perk to re-issue on a regular basis. You can also control whether a sub member should receive this perk.

Posted May 27, 2021

Verify an Applicant hasn't Already Applied Before Continuing - Avoid Data Overlap

We added a new feature that allows you to prompt an applicant to enter their e-mail and/or mobile number in order to verify if they have either applied or are an active member.

Posted May 13, 2021

FAQ: Sevenrooms

Being integrated with Sevenrooms for nearly 3 years, we've learned a lot on how our users leverage it to improve the member experience while maximizing revenue. Here are some off the questions we get asked the most about our integration with Sevenrooms.

Posted May 11, 2021

Integrate Your Hardware to Verify Members as they Arrive

This step by step tutorial will show you how to verify a membership card and check them in via our API.

Posted May 11, 2021

Capture up to 3 Months Past Due When Members Don't Renew After Billing Fails

We are in a weird time where members may feel that no or limited access to the club doesn't warrant dues, so you may find people waiting to pay/activate until you re-open. If they do, this new feature will prompt them to pay up to the last 3 months they were inactive/unpaid.

Posted May 11, 2021

Adding a Card on File with Square for Dining

If you're using Square, we've updated our flow/experience for registering a card with Square for a card on file experience when dining.

Posted April 23, 2021

1 Hour Outage Due to Azure Downtime

We encountered an outage for an hour when Azure became unavailable. We contacted their support on Twitter to get them looking into it. Details inside.

Posted April 2, 2021

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