diff --git a/packages/plugin/src/Integrations/CRM/Pipedrive/BasePipedriveIntegration.php b/packages/plugin/src/Integrations/CRM/Pipedrive/BasePipedriveIntegration.php index 425f2d083..4dac49b08 100644 --- a/packages/plugin/src/Integrations/CRM/Pipedrive/BasePipedriveIntegration.php +++ b/packages/plugin/src/Integrations/CRM/Pipedrive/BasePipedriveIntegration.php @@ -98,26 +98,9 @@ public function fetchFields(string $category, Client $client): array $requiredFields = ['name', 'title']; - $allowedFields = [ - 'name', - 'phone', - 'email', - 'title', - 'value', - 'currency', - 'stage_id', - 'status', - 'probability', - 'note', - ]; - $fieldList = []; foreach ($json->data as $field) { - if (!\in_array($field->key, $allowedFields, true)) { - continue; - } - $type = match ($field->field_type) { 'varchar', 'varchar_auto', 'text', 'date', 'enum', 'time', 'timerange', 'daterange' => FieldObject::TYPE_STRING, 'int', 'double', 'monetary', 'user', 'org', 'people' => FieldObject::TYPE_NUMERIC, diff --git a/packages/plugin/src/Integrations/CRM/Pipedrive/README.md b/packages/plugin/src/Integrations/CRM/Pipedrive/README.md index 950064775..ebdc6479c 100644 --- a/packages/plugin/src/Integrations/CRM/Pipedrive/README.md +++ b/packages/plugin/src/Integrations/CRM/Pipedrive/README.md @@ -41,6 +41,7 @@ Maps data to the following field types: - Click on the **Create an App** button at the top right and choose _Create Private App_. - In the _Basic Info_ page, enter a unique app name and paste the Freeform OAuth URL in the **Callback URL** field. - In the _OAuth & Access Scopes_ page, enable the following: + - **Search for all data** - **Deals** - **Full Access** - **Contacts**