Task: Get daily activities from a Pipedrive user

n8n workflow JSON:
{"nodes":[{"name":"Cron","type":"n8n-nodes-base.cron","notes":"Déclenchement le matin pour la veille","position":[-760,180],"parameters":{"triggerTimes":{"item":[{"hour":7}]}},"notesInFlow":true,"typeVersion":1},{"name":"Pipedrive","type":"n8n-nodes-base.pipedrive","position":[-20,250],"parameters":{"resource":"activity","operation":"getAll","returnAll":true,"additionalFields":{"done":true,"user_id":12938724,"end_date":"={{$json[\"JourJ\"]}}","start_date":"={{$json[\"dateVeille\"]}}"}},"credentials":{"pipedriveApi":"PipedriveApi"},"executeOnce":false,"typeVersion":1,"alwaysOutputData":false},{"name":"Google Sheets n8n","type":"n8n-nodes-base.googleSheets","position":[610,130],"parameters":{"range":"result!A:BJ","options":{"valueInputMode":"RAW"},"sheetId":"","operation":"append","authentication":"oAuth2"},"credentials":{"googleSheetsOAuth2Api":"GoogleOAuth"},"typeVersion":1},{"name":"today","type":"n8n-nodes-base.dateTime","position":[-460,110],"parameters":{"value":"={{new Date()}}","custom":true,"options":{},"toFormat":"YYYY-MM-DD","dataPropertyName":"JourJ"},"typeVersion":1},{"name":"day_before","type":"n8n-nodes-base.dateTime","position":[-570,290],"parameters":{"value":"={{new Date()}}","action":"calculate","options":{},"duration":1,"operation":"subtract","dataPropertyName":"dateVeille"},"typeVersion":1},{"name":"format_date_day_before1","type":"n8n-nodes-base.dateTime","position":[-420,290],"parameters":{"value":"={{$json[\"dateVeille\"]}}","custom":true,"options":{},"toFormat":"YYYY-MM-DD","dataPropertyName":"dateVeille"},"typeVersion":1},{"name":"Merge","type":"n8n-nodes-base.merge","position":[-200,250],"parameters":{"mode":"mergeByIndex"},"typeVersion":1},{"name":"Function","type":"n8n-nodes-base.function","position":[140,250],"parameters":{"functionCode":"const results = {};\n\nfor (const item of items) {\n  if (item.json.done === true) {\n    if (results[item.json.type] === undefined) {\n      results[item.json.type] = 0;\n    } else {\n      results[item.json.type] = results[item.json.type] + 1\n    }\n  }\n}\n\nreturn [\n  {\n    json: {\n      ...results\n    }\n  }\n]\n"},"typeVersion":1},{"name":"Merge3","type":"n8n-nodes-base.merge","position":[280,130],"parameters":{"mode":"mergeByIndex"},"typeVersion":1}],"connections":{"Cron":{"main":[[{"node":"today","type":"main","index":0},{"node":"day_before","type":"main","index":0}]]},"Merge":{"main":[[{"node":"Pipedrive","type":"main","index":0}]]},"today":{"main":[[{"node":"Merge","type":"main","index":0},{"node":"Merge3","type":"main","index":0}]]},"Merge3":{"main":[[{"node":"Google Sheets n8n","type":"main","index":0}]]},"Function":{"main":[[{"node":"Merge3","type":"main","index":1}]]},"Pipedrive":{"main":[[{"node":"Function","type":"main","index":0}]]},"day_before":{"main":[[{"node":"format_date_day_before1","type":"main","index":0}]]},"format_date_day_before1":{"main":[[{"node":"Merge","type":"main","index":1}]]}}}