• Hello there,

    Thank you so much for the nice plugin!

    We were wondering if it is possible to somehow send also files to pipedrive. We have a scenario where our customers need to send us their project for evaluation. On CF7 we can configure a field to send a file. But the configuration on your plugin for this kind of field is what I am unsure on how to proceed, Could you please bring in some light to us?

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • add_filter(‘cf7_pipedrive_deal_fields’, ‘update_fields’);
    function update_fields($fields) {
    $api_obj = Cf7_Pipedrive_Admin_Settings::get_instance();
    $result = json_decode (file_get_contents(‘https://api.pipedrive.com/v1/dealFields?api_token=’.$api_obj->cf7_pipedrive_api_key) );
    foreach ($result->data as $field){
    $fields[$field->key] = array( ‘api_key’ => $field->key, ‘display_name’ => $field->name);
    }
    return $fields;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Sending files’ is closed to new replies.