diff --git a/cfg/hubspot.json b/cfg/hubspot.json index 38e304a..2117359 100644 --- a/cfg/hubspot.json +++ b/cfg/hubspot.json @@ -1,7 +1,7 @@ { "token_type": "bearer", "refresh_token": "dfdb8172-1072-4a95-8122-6f4be5dbcbaf", - "access_token": "CNa5muiDNBInQlNQMl8kQEwrAhoACAcCAhICEgkEHgEBAQEBAQEbAQIBLh4BIAEgGI-0ogEgopooKMKUazIUGdB2ITwlGDUOf6qIynbdtFhnp7M6a0JTUDJfJEBMKwNcAAeOAgTLAhP1AgaYAwejAwaBBQaJBggTGRobH4oBiwGQAbsB3gH6AfsB_AGVApYCtgLHAv8DgASEBIUEowSkBKUEpwSoBN0E4QbiBuMGlZoFrO8F3_cFgvkFg_kF_PUIQhSLWuIvSf4oJBL1S034uszxekWSSEoDbmExUgBaAGAAaKKaKHAAeAA", + "access_token": "CPDM2euDNBInQlNQMl8kQEwrAhoACAcCAhICEgkEHgEBAQEBAQEbAQIBLh4BIAEgGI-0ogEgopooKMKUazIUAyadDK38t_Nd7afu92XPlJWNIAo6a0JTUDJfJEBMKwNcAAeOAgTLAhP1AgaYAwejAwaBBQaJBggTGRobH4oBiwGQAbsB3gH6AfsB_AGVApYCtgLHAv8DgASEBIUEowSkBKUEpwSoBN0E4QbiBuMGlZoFrO8F3_cFgvkFg_kF_PUIQhSC4VGhsI_4_JW1pwepVd_QSHEyGEoDbmExUgBaAGAAaKKaKHAAeAA", "hub_id": 2660879, "scopes": [ "crm.lists.read", diff --git a/logs/output.log b/logs/output.log index ee8afea..9cd50e7 100644 --- a/logs/output.log +++ b/logs/output.log @@ -1,4 +1,48 @@ -◇ injected env (0) from .env // tip: ⌘ suppress logs { quiet: true } -Retrieving data from Keystone... -Error fetching the data: Keystone HTTP Error 403 (Forbidden): {"error":"Unauthorized","code":"401","message":"key missmatch"} -Error in processing data: Keystone HTTP Error 403 (Forbidden): {"error":"Unauthorized","code":"401","message":"key missmatch"} +◇ injected env (1) from .env // tip: ◈ secrets for agents [www.dotenvx.com] +Retrieving data from Keystone... 2026-08-26T09:15:46.604Z 2026-08-26T09:16:01.807Z false +DateTime saved successfully in file last-modified-date.json +Data retrieved successfully! +Now Connecting to Hubspot... +getAccessToken +getAccessToken +New access token generated +Hubspot connection is ready! +Connection successful! +Batch successfully created! +{ + "completedAt": "2026-08-26T09:16:05.075Z", + "status": "COMPLETE", + "startedAt": "2026-08-26T09:16:04.941Z", + "results": [ + { + "id": "244396741787", + "properties": { + "corso_keystone": "Italian Culinary Program", + "createdate": "2026-08-26T08:27:10.610Z", + "email": "videeshasawane@gmail.com", + "firstname": "Videesha ", + "hs_full_name_or_email": "Videesha Sawane", + "hs_is_unworked": "true", + "hs_object_id": "244396741787", + "hs_object_source": "INTEGRATION", + "hs_object_source_id": "1755714", + "hs_object_source_label": "INTEGRATION", + "hs_pipeline": "contacts-lifecycle-pipeline", + "hs_v2_date_entered_current_stage": "2026-08-26T08:27:10.610Z", + "hs_v2_time_in_current_stage": "2026-08-26T08:27:10.610Z", + "lastmodifieddate": "2026-08-26T08:34:13.632Z", + "lastname": "Sawane", + "leadsource": "keystone", + "lifecyclestage": "lead", + "phone": "+91 8454046665" + }, + "createdAt": "2026-08-26T08:27:10.610Z", + "updatedAt": "2026-08-26T08:34:13.632Z", + "archived": false, + "url": "https://app.hubspot.com/contacts/2660879/record/0-1/244396741787", + "new": false + } + ] +} +HubSpot Batch Response: Contact/s created successfully! +All contacts have been created! diff --git a/src/last-modified-date.json b/src/last-modified-date.json index c1e3dce..2152033 100644 --- a/src/last-modified-date.json +++ b/src/last-modified-date.json @@ -1,3 +1,3 @@ { - "lastRun": "2026-08-25T14:25:46.866Z" + "lastRun": "2026-08-26T09:16:01.807Z" } \ No newline at end of file diff --git a/xxx b/xxx new file mode 100644 index 0000000..e69de29