chrisblakley / Nebula

Nebula is a WordPress theme framework that focuses on enhancing development. The core features of Nebula make it a powerful tool for designing, developing, and analyzing WordPress websites consistently, yet its deliberately uncomplicated code syntax also serves as a learning resource for programmers themselves.
https://nebula.gearside.com
GNU General Public License v3.0
143 stars 36 forks source link

Research CRM API Integration #1096

Closed chrisblakley closed 8 years ago

chrisblakley commented 8 years ago

Look into integrating Salesforce as the CRM of choice for Nebula. At minimum it will need an API key and a function to send/receive data using the API.

Either this one... https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm

Or maybe this one...? https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_steps_obtain_dev_org.htm

First question: Will that API integration be PHP (possibly with AJAX) or JavaScript?

Sign up for a 30-day trial and start digging into the best way to approach this.

chrisblakley commented 8 years ago

This looks like it's just for a form: https://wordpress.org/plugins/salesforce-wordpress-to-lead/

We'll be looking at sending custom event data at various points to supplement lead data. We'll also need to pull data from Salesforce too.

chrisblakley commented 8 years ago

Here is an integration example using PHP: https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_Toolkit_for_PHP

chrisblakley commented 8 years ago

Consider Hubspot CRM for integration instead of just Salesforce.

Here is the Hubspot API documentation: http://developers.hubspot.com/docs/overview

Seems like this would be the one we use most often to send data to Hubspot (Create or Update a Contact): http://developers.hubspot.com/docs/methods/contacts/create_or_update

chrisblakley commented 8 years ago

For Hubspot, I would make a PHP function that accepts AJAX to create/update a contact with provided information.

Does Hubspot create an ID or can we send one? Because we also want to get user data from Hubspot.

chrisblakley commented 8 years ago

Whichever CRM we go with, we should make sure that only quality events trigger the data send- for example, here is Hubspot's API Usage Guidelines (rate limits): http://developers.hubspot.com/apps/api_guidelines