{
    "timestamp": "2026-05-11T20:55:47+00:00",
    "request": {
        "method": "POST",
        "uri": "\/prevel\/FDV\/FinDeVisite.php?action=create_all",
        "remote_ip": "70.24.233.187",
        "user_agent": "X-UnrealEngine-Agent"
    },
    "input": {
        "Agent": {
            "FirstName": "Isabelle ",
            "LastName": "David",
            "Email": "location@esplanadecartier.ca",
            "Job": "Conseillère en location"
        },
        "Clients": [
            {
                "FirstName": "Magalie",
                "LastName": "Brault",
                "Email": "bbmag26@gmail.com",
                "Phone": "438 923-4037",
                "Post": ""
            }
        ],
        "Projects": [
            {
                "ProjectName": "Prevel - EC3",
                "Favorites": {
                    "Units": [
                        "624_EC3",
                        "603_EC3",
                        "803_EC3"
                    ],
                    "CommonAreas": [],
                    "Surroundings": []
                },
                "Estimates": [],
                "ProjectTime": {
                    "TimeSpent": 7661.71875,
                    "Subsections": {
                        "Immeuble": {
                            "TimeSpent": 13.5166072845458984375,
                            "Subsections": []
                        },
                        "Unite": {
                            "TimeSpent": 7526.45703125,
                            "Subsections": []
                        },
                        "Favoris": {
                            "TimeSpent": 67.57763671875,
                            "Subsections": []
                        },
                        "Fin de visite": {
                            "TimeSpent": 54.16748046875,
                            "Subsections": []
                        }
                    }
                }
            }
        ],
        "GeneralInfo": {
            "Date": "2026.05.11",
            "VisitTime": 7661.71875,
            "Pet": "",
            "UnitsSeeked": [],
            "Comment": ""
        }
    },
    "output": {
        "logs": [
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Action create_all déclenchée",
                "context": []
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Payload FindeVisite reçu",
                "context": {
                    "clients_count": 1,
                    "projects_count": 1
                }
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Données de visite résidentielle extraites",
                "context": {
                    "client": "Magalie Brault",
                    "clients_total": 1,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-11",
                    "visit_minutes": 128,
                    "favorite_units": [
                        "624_EC3",
                        "603_EC3",
                        "803_EC3"
                    ],
                    "favorite_common_areas": [],
                    "favorite_surroundings": []
                }
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Étape 1 - Organisation résidentielle",
                "context": []
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Recherche de l'organisation résidentielle fixe",
                "context": {
                    "name": "Esplanade Cartier"
                }
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Pipedrive organization found",
                "context": {
                    "entity_type": "organization",
                    "id": 355,
                    "label": "Esplanade Cartier",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/organization\/355",
                    "extra": {
                        "source": "organizations\/find"
                    }
                }
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Étape 2 - Contacts résidentiels (1 client(s))",
                "context": []
            },
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "level": "info",
                "message": "Recherche du contact résidentiel",
                "context": {
                    "name": "Magalie Brault",
                    "email": "bbmag26@gmail.com",
                    "phone": "4389234037"
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Pipedrive person found",
                "context": {
                    "entity_type": "person",
                    "id": 42394,
                    "label": "Mag Brault",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/person\/42394",
                    "extra": {
                        "source": "itemSearch",
                        "search_term": "bbmag26@gmail.com",
                        "primary_email": "Bbmag26@gmail.com",
                        "org_id": 355
                    }
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Client 1\/1 traité",
                "context": {
                    "person_id": 42394,
                    "name": "Magalie Brault",
                    "email": "bbmag26@gmail.com",
                    "url": "https:\/\/royallepage.pipedrive.com\/person\/42394"
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Étape 3 - Vérification doublon deal résidentiel",
                "context": []
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Recherche d'un deal résidentiel existant",
                "context": {
                    "person_id": 42394,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-11"
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Passe 2 : recherche via \/persons\/{id}\/deals (toutes étapes)",
                "context": {
                    "person_id": 42394,
                    "project": "Prevel - EC3"
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Aucun deal résidentiel existant trouvé (passe 1 + passe 2)",
                "context": {
                    "person_id": 42394,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-11"
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Étape 4 - Création d'un nouveau deal résidentiel",
                "context": []
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Création du deal résidentiel dans Pipedrive",
                "context": {
                    "title": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
                    "person_id": 42394,
                    "org_id": 355,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-11",
                    "favorite_units": [
                        "624_EC3",
                        "603_EC3",
                        "803_EC3"
                    ]
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Pipedrive deal created",
                "context": {
                    "entity_type": "deal",
                    "id": 51132,
                    "label": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/deal\/51132",
                    "extra": {
                        "person_id": 42394,
                        "org_id": 355,
                        "project": "Prevel - EC3",
                        "visit_date": "2026-05-11",
                        "favorite_units": [
                            "624_EC3",
                            "603_EC3",
                            "803_EC3"
                        ],
                        "payload": {
                            "title": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
                            "person_id": 42394,
                            "org_id": 355,
                            "visible_to": 3,
                            "status": "open",
                            "add_time": "2026-05-11 20:55:48"
                        }
                    }
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Étape 5 - Création activité meeting résidentielle",
                "context": []
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Création de l'activité meeting résidentielle dans Pipedrive",
                "context": {
                    "deal_id": 51132,
                    "person_ids": [
                        42394
                    ],
                    "org_id": 355,
                    "project": "Prevel - EC3",
                    "due_date": "2026-05-11",
                    "due_time": "18:47",
                    "duration_minutes": 128,
                    "duration_pipedrive": "02:08",
                    "favorite_units": [
                        "624_EC3",
                        "603_EC3",
                        "803_EC3"
                    ]
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Pipedrive activity created",
                "context": {
                    "entity_type": "activity",
                    "id": 132339,
                    "label": "Visite résidentielle - Prevel - EC3",
                    "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/activity\/132339",
                    "extra": {
                        "deal_id": 51132,
                        "person_ids": [
                            42394
                        ],
                        "org_id": 355,
                        "due_date": "2026-05-11",
                        "due_time": "18:47",
                        "duration": "02:08",
                        "participants": [],
                        "payload": {
                            "subject": "Visite résidentielle - Prevel - EC3",
                            "type": "meeting",
                            "done": 0,
                            "due_date": "2026-05-11",
                            "due_time": "18:47",
                            "duration": "02:08",
                            "deal_id": 51132,
                            "person_id": 42394,
                            "note": "Visite résidentielle organisée via Immersion\nConseiller(ère) : Isabelle  David - Conseillère en location\nClient(s) : Magalie Brault\nUnités favorites : 624, 603, 803"
                        }
                    }
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "level": "info",
                "message": "Résumé final avec IDs Pipedrive",
                "context": {
                    "organization_id": 355,
                    "person_ids": [
                        42394
                    ],
                    "deal_id": 51132,
                    "deal_created": true,
                    "activity_id": 132339,
                    "participants": 1,
                    "pipedrive_urls": {
                        "organization": "https:\/\/royallepage.pipedrive.com\/organization\/355",
                        "persons": [
                            "https:\/\/royallepage.pipedrive.com\/person\/42394"
                        ],
                        "deal": "https:\/\/royallepage.pipedrive.com\/deal\/51132",
                        "activity": "https:\/\/royallepage.pipedrive.com\/activity\/132339"
                    }
                }
            }
        ],
        "http": [
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/organizations\/find?term=Esplanade+Cartier&exact_match=true&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":[{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"visible_to\":3,\"details\":{\"org_address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"}},{\"id\":357,\"name\":\"ESPLANADE CARTIER (LOT 2)\",\"visible_to\":3,\"details\":{\"org_address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"}}],\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=bbmag26%40gmail.com&item_type=person&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":0.149775,\"item\":{\"id\":42394,\"type\":\"person\",\"name\":\"Mag Brault\",\"phones\":[\"+14389234037\"],\"emails\":[\"Bbmag26@gmail.com\"],\"primary_email\":\"Bbmag26@gmail.com\",\"visible_to\":3,\"owner\":{\"id\":24444868},\"organization\":null,\"custom_fields\":[],\"notes\":[],\"update_time\":\"2026-05-11 20:55:45\"}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=Prevel+-+EC3&item_type=deal&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":1.092828,\"item\":{\"id\":51115,\"type\":\"deal\",\"title\":\"Visite Immersion 11\/05\/2026 - Angelique Laramee - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41670,\"name\":\"Angelique Laramee\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51111,\"type\":\"deal\",\"title\":\"Visite Immersion 11\/05\/2026 - Homa Papiyan - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42540,\"name\":\"Homa Papiyan\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51014,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Liyassine Azzemou - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42451,\"name\":\"Liyassine Azzemou\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51013,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Adil Tarnagada - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41627,\"name\":\"Adil TARNAGADA\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51009,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Claudia Tam - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41781,\"name\":\"Claudia Tam\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51002,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Siham Lakrit - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":3,\"name\":\"Intérêt confirmé\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42443,\"name\":\"Siham Lakrit\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":50994,\"type\":\"deal\",\"title\":\"Visite Immersion 08\/05\/2026 - Daniel Zabroda - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41459,\"name\":\"Daniel Zabroda\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":50969,\"type\":\"deal\",\"title\":\"Visite résidentielle 06\/05\/2026 - Ralph Adoutan - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42420,\"name\":\"Ralph Adoutan\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=11%2F05%2F2026&item_type=deal&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":1.092828,\"item\":{\"id\":51115,\"type\":\"deal\",\"title\":\"Visite Immersion 11\/05\/2026 - Angelique Laramee - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41670,\"name\":\"Angelique Laramee\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51111,\"type\":\"deal\",\"title\":\"Visite Immersion 11\/05\/2026 - Homa Papiyan - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42540,\"name\":\"Homa Papiyan\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/itemSearch?term=2026-05-11&item_type=deal&exact_match=false&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":{\"items\":[{\"result_score\":1.092828,\"item\":{\"id\":51115,\"type\":\"deal\",\"title\":\"Visite Immersion 11\/05\/2026 - Angelique Laramee - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":41670,\"name\":\"Angelique Laramee\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":1.092828,\"item\":{\"id\":51111,\"type\":\"deal\",\"title\":\"Visite Immersion 11\/05\/2026 - Homa Papiyan - Prevel - EC3\",\"value\":null,\"currency\":\"CAD\",\"status\":\"open\",\"visible_to\":3,\"owner\":{\"id\":9879203},\"stage\":{\"id\":2,\"name\":\"Nouveau lead\"},\"pipeline\":{\"id\":1},\"person\":{\"id\":42540,\"name\":\"Homa Papiyan\"},\"organization\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"address\":\"2150 Rue Sainte-Catherine Est, Montréal, QC, Canada\"},\"custom_fields\":[],\"notes\":[],\"is_archived\":false}},{\"result_score\":0.05844,\"item\":{\"type\":\"lead\",\"id\":\"da521760-4a78-11f1-9c82-c569c40de107\",\"title\":\"Sylvie Ouellet - DIEM - ORIGINES\",\"owner\":{\"id\":24861427},\"person\":{\"id\":42430,\"name\":\"Sylvie Ouellet\"},\"organization\":{\"id\":364,\"name\":\"DIEM - ORIGINES\"},\"phones\":[],\"emails\":[],\"custom_fields\":[\"Bonjour, \\r\\nNous aimerions peut-être un 5 1\/2 tout dépend de la grandeur. Nous désirons plus de +- 1100 pieds carrés.\"],\"notes\":[\"Lead recu par courriel Source: Email transfere De: contact@blancnoirimmobilier.com Sujet: Nouveau lead - Sylvie Ouellet - DIEM Message: Unite: 4 1\/2 | Bonjour, Nous aimerions peut-être un 5 1\/2 tout dépend de la grandeur. Nous désirons plus de +- 1100 pieds carrés. --- Options supplémentaires --- Option 1 : Option 2 : Option 3 : --- Projet ---\",\"Nouvelle soumission webhook le 2026-05-08 : Bonjour, Nous désirons un 4 1:2 ou 5 1\/2 tout dépend du nombre de pieds carrés et des espaces de rangement. Merci !\",\"Lead recu par courriel Source: Email transfere De: contact@blancnoirimmobilier.com Sujet: Nouveau lead - Sylvie Ouellet - DIEM Message: Unite: 4 1\/2 | Bonjour, Nous désirons un 4 1:2 ou 5 1\/2 tout dépend du nombre de pieds carrés et des espaces de rangement. Merci ! --- Options supplémentaires --- Option 1 : Option 2 : Option 3 : --- Projet ---\"],\"value\":null,\"currency\":null,\"visible_to\":3,\"is_archived\":false}}]},\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "GET",
                "url": "https:\/\/api.pipedrive.com\/v1\/persons\/42394\/deals?status=open&limit=50&start=0&api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "status": 200,
                "response_preview": "{\"success\":true,\"data\":[{\"id\":50941,\"creator_user_id\":{\"id\":24444868,\"name\":\"Mathieu Hunter\",\"email\":\"mathieu.hunter@mintnumerique.com\",\"has_pic\":0,\"pic_hash\":null,\"active_flag\":true,\"value\":24444868},\"user_id\":{\"id\":24347276,\"name\":\"Esplanade Cartier\",\"email\":\"location@esplanadecartier.ca\",\"has_pic\":0,\"pic_hash\":null,\"active_flag\":true,\"value\":24347276},\"person_id\":{\"active_flag\":true,\"name\":\"Mag Brault\",\"email\":[{\"label\":\"work\",\"value\":\"Bbmag26@gmail.com\",\"primary\":true}],\"phone\":[{\"label\":\"work\",\"value\":\"+14389234037\",\"primary\":true}],\"owner_id\":24444868,\"company_id\":5853833,\"value\":42394},\"org_id\":{\"name\":\"ESPLANADE CARTIER\",\"people_count\":399,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\",\"value\":355},\"stage_id\":2,\"title\":\"Mag Brault - ESPLANADE CARTIER\",\"value\":0,\"currency\":\"CAD\",\"add_time\":\"2026-05-07 00:14:44\",\"update_time\":\"2026-05-10 21:56:35\",\"stage_change_time\":\"2026-05-08 22:20:36\",\"active\":true,\"deleted\":false,\"status\":\"open\",\"probability\":null,\"next_activity_date\":\"2026-05-10\",\"next_activity_time\":null,\"next_activity_id\":132124,\"last_activity_id\":132123,\"last_activity_date\":\"2026-05-08\",\"lost_reason\":null,\"visible_to\":\"3\",\"close_time\":null,\"pipeline_id\":1,\"won_time\":null,\"first_won_time\":null,\"lost_time\":null,\"products_count\":0,\"files_count\":0,\"notes_count\":2,\"followers_count\":2,\"email_messages_count\":0,\"activities_count\":2,\"done_activities_count\":1,\"undone_activities_count\":1,\"participants_count\":1,\"expected_close_date\":null,\"last_incoming_mail_time\":null,\"last_outgoing_mail_time\":null,\"label\":null,\"local_won_date\":null,\"local_lost_date\":null,\"local_close_date\":null,\"origin\":\"Marketplace\",\"origin_id\":\"10f6b602cda330ef\",\"channel\":179,\"channel_id\":null,\"is_archived\":false,\"archive_time\":null,\"score\":null,\"sequence_enrollment\":null,\"source_lead_id\":null,\"stage_order_nr\":1,\"person_name\":\"Mag Brault\",\"org_name\":\"ESPLANADE CARTIER\",\"next_activity_subject\":\"Suivi d'int\\u00e9r\\u00eats\",\"next_activity_type\":\"call\",\"next_activity_duration\":null,\"next_activity_note\":null,\"formatted_value\":\"0\\u00a0$\",\"weighted_value\":0,\"formatted_weighted_value\":\"0\\u00a0$\",\"weighted_value_currency\":\"CAD\",\"rotten_time\":\"2026-06-24 21:56:35\",\"owner_name\":\"Esplanade Cartier\",\"cc_email\":\"royallepage+deal50941@pipedrivemail.com\",\"8b9855c7ce48c96bef9d9d18c639a30aa42d7198\":\"60\",\"6d8c2513012c6169591ff78980c3cd508a9ce365\":null,\"a4ec5c24434939a2fa6e4892853ff2bbbc11376b\":null,\"614f552f040cb074654d3b2f5fa446d1aefb23cd\":null,\"f2df2395324b089eabbd44894f7ef5c031a93078\":null,\"801fc9507f57369ae66ce68b9f4837a13990ab06\":\"12\",\"8011ab704ad9ffedcce905aac40533d352a022f0\":null,\"a63f7bf91cb31153a13429b6cb1c0cb7edddc0cd\":null,\"108c253748778d253dedcbc9782392cf06bd200b\":null,\"73182328101fabfc57aa79fe8381a96ae04b1214\":null,\"2538226796ddc8ec720602109cae69c87c38eac1\":null,\"0139beac42c6a4026f20ec6af9dade12d0c01105\":null,\"3539c67cc43841b31afd0e01d95593749b09e28f\":null,\"4c39a57952489e63bbfd2f9d23d17b9defcb30ea\":null,\"496d307d13912ec51c08776960921b5f19c65031\":null,\"e8af9918b2bc78bc2b225f6712d62f370bc14e52\":null,\"6cb0d60d3b922f4388d42e9812c24e042068518a\":null,\"3e97fa9f01567cd78aa3bf27bd18c00aab2b6c6b\":null,\"b008db8521bd198e84923e7438b3a2fa94e0bc3d\":null,\"3b4d1d6152418b7f24423312bda80db466d7a951\":null,\"4cc344dfea314d549251e957cf0c96f80fb5704b\":null,\"org_hidden\":false,\"person_hidden\":false}],\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":50,\"more_items_in_collection\":false}},\"related_objects\":{\"user\":{\"24444868\":{\"id\":24444868,\"name\":\"Mathieu Hunter\",\"email\":\"mathieu.hunter@mintnumerique.com\",\"has_pic\":0,\"pic_hash\":null,\"active_flag\":true},\"24347276\":{\"id\":24347276,\"name\":\"Esplanade Cartier\",\"email\":\"location@esplanadecartier.ca\",\"has_pic\":0,\"pic_hash\":null,\"active_flag\":true}},\"pipeline\":{\"1\":{\"id\":1,\"name\":\"Pipeline\",\"url_title\":\"Pipeline\",\"order_nr\":1,\"active\":true,\"deal_probability\":false,\"add_time\":\"2019-04-30 17:58:53\",\"update_time\":\"2019-05-01 15:01:10\"}},\"stage\":{\"2\":{\"id\":2,\"order_nr\":1,\"name\":\"Nouveau lead\",\"active_flag\":true,\"deal_probability\":100,\"pipeline_id\":1,\"rotten_flag\":true,\"rotten_days\":45,\"add_time\":\"2019-04-30 18:52:33\",\"update_time\":\"2023-05-05 20:21:47\",\"pipeline_name\":\"Pipeline\",\"pipeline_deal_probability\":false}},\"organization\":{\"355\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"people_count\":399,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\"}},\"person\":{\"42394\":{\"active_flag\":true,\"id\":42394,\"name\":\"Mag Brault\",\"email\":[{\"label\":\"work\",\"value\":\"Bbmag26@gmail.com\",\"primary\":true}],\"phone\":[{\"label\":\"work\",\"value\":\"+14389234037\",\"primary\":true}],\"owner_id\":24444868,\"company_id\":5853833}}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "POST",
                "url": "https:\/\/api.pipedrive.com\/v1\/deals?api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "payload": {
                    "title": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
                    "person_id": 42394,
                    "org_id": 355,
                    "visible_to": 3,
                    "status": "open",
                    "add_time": "2026-05-11 20:55:48"
                },
                "status": 201,
                "response_preview": "{\"success\":true,\"data\":{\"id\":51132,\"creator_user_id\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true,\"value\":9879203},\"user_id\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true,\"value\":9879203},\"person_id\":{\"active_flag\":true,\"name\":\"Mag Brault\",\"email\":[{\"label\":\"work\",\"value\":\"Bbmag26@gmail.com\",\"primary\":true}],\"phone\":[{\"label\":\"work\",\"value\":\"+14389234037\",\"primary\":true}],\"owner_id\":24444868,\"company_id\":5853833,\"value\":42394},\"org_id\":{\"name\":\"ESPLANADE CARTIER\",\"people_count\":399,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\",\"value\":355},\"stage_id\":2,\"title\":\"Visite Immersion 11\\\/05\\\/2026 - Magalie Brault - Prevel - EC3\",\"value\":0,\"currency\":\"CAD\",\"add_time\":\"2026-05-11 20:55:48\",\"update_time\":\"2026-05-11 20:55:48\",\"stage_change_time\":null,\"active\":true,\"deleted\":false,\"status\":\"open\",\"probability\":null,\"next_activity_date\":null,\"next_activity_time\":null,\"next_activity_id\":null,\"last_activity_id\":null,\"last_activity_date\":null,\"lost_reason\":null,\"visible_to\":\"3\",\"close_time\":null,\"pipeline_id\":1,\"won_time\":null,\"first_won_time\":null,\"lost_time\":null,\"products_count\":0,\"files_count\":0,\"notes_count\":0,\"followers_count\":0,\"email_messages_count\":0,\"activities_count\":0,\"done_activities_count\":0,\"undone_activities_count\":0,\"participants_count\":0,\"expected_close_date\":null,\"last_incoming_mail_time\":null,\"last_outgoing_mail_time\":null,\"label\":null,\"local_won_date\":null,\"local_lost_date\":null,\"local_close_date\":null,\"origin\":\"API\",\"origin_id\":null,\"channel\":null,\"channel_id\":null,\"is_archived\":false,\"archive_time\":null,\"score\":null,\"sequence_enrollment\":null,\"source_lead_id\":null,\"stage_order_nr\":1,\"person_name\":\"Mag Brault\",\"org_name\":\"ESPLANADE CARTIER\",\"next_activity_subject\":null,\"next_activity_type\":null,\"next_activity_duration\":null,\"next_activity_note\":null,\"formatted_value\":\"0\\u00a0$\",\"weighted_value\":0,\"formatted_weighted_value\":\"0\\u00a0$\",\"weighted_value_currency\":\"CAD\",\"rotten_time\":\"2026-06-25 20:55:48\",\"owner_name\":\"Dave Carter\",\"cc_email\":\"royallepage+deal51132@pipedrivemail.com\",\"8b9855c7ce48c96bef9d9d18c639a30aa42d7198\":null,\"6d8c2513012c6169591ff78980c3cd508a9ce365\":null,\"a4ec5c24434939a2fa6e4892853ff2bbbc11376b\":null,\"614f552f040cb074654d3b2f5fa446d1aefb23cd\":null,\"f2df2395324b089eabbd44894f7ef5c031a93078\":null,\"801fc9507f57369ae66ce68b9f4837a13990ab06\":null,\"8011ab704ad9ffedcce905aac40533d352a022f0\":null,\"a63f7bf91cb31153a13429b6cb1c0cb7edddc0cd\":null,\"108c253748778d253dedcbc9782392cf06bd200b\":null,\"73182328101fabfc57aa79fe8381a96ae04b1214\":null,\"2538226796ddc8ec720602109cae69c87c38eac1\":null,\"0139beac42c6a4026f20ec6af9dade12d0c01105\":null,\"3539c67cc43841b31afd0e01d95593749b09e28f\":null,\"4c39a57952489e63bbfd2f9d23d17b9defcb30ea\":null,\"496d307d13912ec51c08776960921b5f19c65031\":null,\"e8af9918b2bc78bc2b225f6712d62f370bc14e52\":null,\"6cb0d60d3b922f4388d42e9812c24e042068518a\":null,\"3e97fa9f01567cd78aa3bf27bd18c00aab2b6c6b\":null,\"b008db8521bd198e84923e7438b3a2fa94e0bc3d\":null,\"3b4d1d6152418b7f24423312bda80db466d7a951\":null,\"4cc344dfea314d549251e957cf0c96f80fb5704b\":null,\"org_hidden\":false,\"person_hidden\":false},\"related_objects\":{\"user\":{\"9879203\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true}},\"pipeline\":{\"1\":{\"id\":1,\"name\":\"Pipeline\",\"url_title\":\"Pipeline\",\"order_nr\":1,\"active\":true,\"deal_probability\":false,\"add_time\":\"2019-04-30 17:58:53\",\"update_time\":\"2019-05-01 15:01:10\"}},\"stage\":{\"2\":{\"id\":2,\"order_nr\":1,\"name\":\"Nouveau lead\",\"active_flag\":true,\"deal_probability\":100,\"pipeline_id\":1,\"rotten_flag\":true,\"rotten_days\":45,\"add_time\":\"2019-04-30 18:52:33\",\"update_time\":\"2023-05-05 20:21:47\",\"pipeline_name\":\"Pipeline\",\"pipeline_deal_probability\":false}},\"organization\":{\"355\":{\"id\":355,\"name\":\"ESPLANADE CARTIER\",\"people_count\":399,\"owner_id\":9879203,\"address\":\"2150 Rue Sainte-Catherine Est, Montr\\u00e9al, QC, Canada\",\"label_ids\":[],\"active_flag\":true,\"cc_email\":\"royallepage@pipedrivemail.com\",\"owner_name\":\"Dave Carter\"}},\"person\":{\"42394\":{\"active_flag\":true,\"id\":42394,\"name\":\"Mag Brault\",\"email\":[{\"label\":\"work\",\"value\":\"Bbmag26@gmail.com\",\"primary\":true}],\"phone\":[{\"label\":\"work\",\"value\":\"+14389234037\",\"primary\":true}],\"owner_id\":24444868,\"company_id\":5853833}}}}"
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "method": "POST",
                "url": "https:\/\/api.pipedrive.com\/v1\/activities?api_token=d4efa100a71cc255c100fc4b0498168358ac24f9",
                "payload": {
                    "subject": "Visite résidentielle - Prevel - EC3",
                    "type": "meeting",
                    "done": 0,
                    "due_date": "2026-05-11",
                    "due_time": "18:47",
                    "duration": "02:08",
                    "deal_id": 51132,
                    "person_id": 42394,
                    "note": "Visite résidentielle organisée via Immersion\nConseiller(ère) : Isabelle  David - Conseillère en location\nClient(s) : Magalie Brault\nUnités favorites : 624, 603, 803"
                },
                "status": 201,
                "response_preview": "{\"success\":true,\"data\":{\"id\":132339,\"user_id\":9879203,\"done\":false,\"type\":\"meeting\",\"reference_type\":null,\"reference_id\":null,\"conference_meeting_client\":null,\"conference_meeting_url\":null,\"due_date\":\"2026-05-11\",\"due_time\":\"18:47\",\"duration\":\"02:08\",\"busy_flag\":true,\"add_time\":\"2026-05-11 20:55:48\",\"marked_as_done_time\":\"\",\"last_notification_time\":null,\"last_notification_user_id\":null,\"notification_language_id\":null,\"subject\":\"Visite r\\u00e9sidentielle - Prevel - EC3\",\"public_description\":null,\"calendar_sync_include_context\":null,\"location\":null,\"org_id\":null,\"person_id\":42394,\"deal_id\":51132,\"lead_id\":null,\"project_id\":null,\"active_flag\":true,\"update_time\":\"2026-05-11 20:55:48\",\"update_user_id\":null,\"source_timezone\":null,\"rec_rule\":null,\"rec_rule_extension\":null,\"rec_master_activity_id\":null,\"conference_meeting_id\":null,\"original_start_time\":null,\"private\":false,\"priority\":null,\"note\":\"Visite r\\u00e9sidentielle organis\\u00e9e via Immersion\\nConseiller(\\u00e8re) : Isabelle David - Conseill\\u00e8re en location\\nClient(s) : Magalie Brault\\nUnit\\u00e9s favorites : 624, 603, 803\",\"created_by_user_id\":9879203,\"location_subpremise\":null,\"location_street_number\":null,\"location_route\":null,\"location_sublocality\":null,\"location_locality\":null,\"location_admin_area_level_1\":null,\"location_admin_area_level_2\":null,\"location_country\":null,\"location_postal_code\":null,\"location_formatted_address\":null,\"attendees\":null,\"participants\":[{\"person_id\":42394,\"primary_flag\":true}],\"series\":null,\"is_recurring\":null,\"org_name\":null,\"person_name\":\"Mag Brault\",\"deal_title\":\"Visite Immersion 11\\\/05\\\/2026 - Magalie Brault - Prevel - EC3\",\"lead_title\":null,\"project_title\":null,\"owner_name\":\"Dave Carter\",\"person_dropbox_bcc\":\"royallepage@pipedrivemail.com\",\"deal_dropbox_bcc\":\"royallepage+deal51132@pipedrivemail.com\",\"assigned_to_user_id\":9879203,\"type_name\":\"Meeting\",\"lead\":null,\"company_id\":5853833},\"additional_data\":{\"updates_story_id\":null},\"related_objects\":{\"person\":{\"42394\":{\"active_flag\":true,\"id\":42394,\"name\":\"Mag Brault\",\"email\":[{\"label\":\"work\",\"value\":\"Bbmag26@gmail.com\",\"primary\":true}],\"phone\":[{\"label\":\"work\",\"value\":\"+14389234037\",\"primary\":true}],\"owner_id\":24444868,\"company_id\":5853833}},\"deal\":{\"51132\":{\"id\":51132,\"title\":\"Visite Immersion 11\\\/05\\\/2026 - Magalie Brault - Prevel - EC3\",\"status\":\"open\",\"value\":0,\"currency\":\"CAD\",\"stage_id\":2,\"pipeline_id\":1,\"user_id\":9879203,\"is_archived\":false,\"archive_time\":null}},\"user\":{\"9879203\":{\"id\":9879203,\"name\":\"Dave Carter\",\"email\":\"blancnoirimmobilier2015@gmail.com\",\"has_pic\":1,\"pic_hash\":\"a7405a5c850960dccdd6e855883b626a\",\"active_flag\":true}}}}"
            }
        ],
        "pipedrive_entities": [
            {
                "ts": "2026-05-11T20:55:47+00:00",
                "action": "found",
                "entity_type": "organization",
                "id": 355,
                "label": "Esplanade Cartier",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/organization\/355",
                "extra": {
                    "source": "organizations\/find"
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "action": "found",
                "entity_type": "person",
                "id": 42394,
                "label": "Mag Brault",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/person\/42394",
                "extra": {
                    "source": "itemSearch",
                    "search_term": "bbmag26@gmail.com",
                    "primary_email": "Bbmag26@gmail.com",
                    "org_id": 355
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "action": "created",
                "entity_type": "deal",
                "id": 51132,
                "label": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/deal\/51132",
                "extra": {
                    "person_id": 42394,
                    "org_id": 355,
                    "project": "Prevel - EC3",
                    "visit_date": "2026-05-11",
                    "favorite_units": [
                        "624_EC3",
                        "603_EC3",
                        "803_EC3"
                    ],
                    "payload": {
                        "title": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
                        "person_id": 42394,
                        "org_id": 355,
                        "visible_to": 3,
                        "status": "open",
                        "add_time": "2026-05-11 20:55:48"
                    }
                }
            },
            {
                "ts": "2026-05-11T20:55:48+00:00",
                "action": "created",
                "entity_type": "activity",
                "id": 132339,
                "label": "Visite résidentielle - Prevel - EC3",
                "pipedrive_url": "https:\/\/royallepage.pipedrive.com\/activity\/132339",
                "extra": {
                    "deal_id": 51132,
                    "person_ids": [
                        42394
                    ],
                    "org_id": 355,
                    "due_date": "2026-05-11",
                    "due_time": "18:47",
                    "duration": "02:08",
                    "participants": [],
                    "payload": {
                        "subject": "Visite résidentielle - Prevel - EC3",
                        "type": "meeting",
                        "done": 0,
                        "due_date": "2026-05-11",
                        "due_time": "18:47",
                        "duration": "02:08",
                        "deal_id": 51132,
                        "person_id": 42394,
                        "note": "Visite résidentielle organisée via Immersion\nConseiller(ère) : Isabelle  David - Conseillère en location\nClient(s) : Magalie Brault\nUnités favorites : 624, 603, 803"
                    }
                }
            }
        ]
    },
    "result": {
        "ok": true,
        "organization": {
            "id": 355,
            "name": "Esplanade Cartier",
            "url": "https:\/\/royallepage.pipedrive.com\/organization\/355"
        },
        "person": {
            "id": 42394,
            "name": "Magalie Brault",
            "url": "https:\/\/royallepage.pipedrive.com\/person\/42394"
        },
        "persons": [
            {
                "id": 42394,
                "name": "Magalie Brault",
                "url": "https:\/\/royallepage.pipedrive.com\/person\/42394"
            }
        ],
        "deal": {
            "id": 51132,
            "created": true,
            "title": "Visite Immersion 11\/05\/2026 - Magalie Brault - Prevel - EC3",
            "url": "https:\/\/royallepage.pipedrive.com\/deal\/51132"
        },
        "activity": {
            "id": 132339,
            "created": true,
            "participants": 1,
            "url": "https:\/\/royallepage.pipedrive.com\/activity\/132339"
        },
        "visit_info": {
            "context": "Résidentiel",
            "date": "2026-05-11",
            "duration_minutes": 128,
            "project": "Prevel - EC3",
            "favorite_units": [
                "624_EC3",
                "603_EC3",
                "803_EC3"
            ],
            "favorite_common_areas": [],
            "favorite_surroundings": []
        },
        "pipedrive_ids": {
            "organization_id": 355,
            "person_ids": [
                42394
            ],
            "deal_id": 51132,
            "activity_id": 132339
        },
        "pipedrive_urls": {
            "organization": "https:\/\/royallepage.pipedrive.com\/organization\/355",
            "persons": [
                "https:\/\/royallepage.pipedrive.com\/person\/42394"
            ],
            "deal": "https:\/\/royallepage.pipedrive.com\/deal\/51132",
            "activity": "https:\/\/royallepage.pipedrive.com\/activity\/132339"
        }
    }
}