Skip to content
Snippets Groups Projects
Commit 57e10cb1 authored by Andrii Sakhaniuk's avatar Andrii Sakhaniuk
Browse files

Issue #3349332 by nnevill: Update readme with note about necessity of enabling Leads on Copper side

parent dd112ade
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
Author and maintainer: **Andrii Sakhaniuk**
* Drupal: https://www.drupal.org/u/nnevill
Sponsored by: **Creative Propulsion Labs**
* Drupal : https://www.drupal.org/creative-propulsion-labs
* Website : https://www.creativepl.com/
......@@ -19,7 +19,7 @@ for instructions on how to install or update Drupal modules.
* Get Copper API key. For this login into your Copper account. Go to Settings->Integrations->API Keys.
* Open /admin/config/services/webform-copper on your Drupal installation and enter email and API key there.
* Open "Emails/Handlers" section of your webform and add "Copper handler".
* Provide mapping between webform's fields and Copper fields. Possible copper fields could be found here https://developer.copper.com/leads/create-a-new-lead.html. **Important** – field "name" is required for Copper.
* Provide mapping between webform's fields and Copper fields. Possible copper fields could be found here https://developer.copper.com/leads/create-a-new-lead.html. **Important** – field "name" is required for Copper.
### PERMISSIONS ###
......@@ -35,3 +35,6 @@ Also it's possible to alter data passing to Copper via
`hook_webform_copper_data_alter(array &$copper_fields, WebformSubmissionInterface $webform_submission){}`.
Check webform_copper.api.php for more info.
### IMPORTANT ###
You hve to enable Leads on Copper UI side. To do so go to "Settings" -> open(if not opened) "Customize" fieldset -> "Lead Statuses" and click "Enable Leads" checkbox there. After that "Leads" link appear in your UI and integration will work.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment