diff --git a/HubSpot/HubSpot_Add_LinkedIn_message_to_contact.ipynb b/HubSpot/HubSpot_Add_LinkedIn_message_to_contact.ipynb index 19a1debcdf..eae840c80b 100644 --- a/HubSpot/HubSpot_Add_LinkedIn_message_to_contact.ipynb +++ b/HubSpot/HubSpot_Add_LinkedIn_message_to_contact.ipynb @@ -144,7 +144,7 @@ }, "outputs": [], "source": [ - "api_key = naas.secret.get(\"HS_ACCESS_TOKEN\") or \"YOUR_HS_ACCESS_TOKEN\"\n", + "hs_access_token = naas.secret.get(\"HS_ACCESS_TOKEN\") or \"YOUR_HS_ACCESS_TOKEN\"\n", "communication_body = \"My First LinkedIn message\"\n", "contact_id = \"308551\"\n", "communication_datetime = None or datetime(2023, 8, 17, 16, 5, 5)" @@ -235,7 +235,7 @@ " print(res.text)\n", " return data\n", "\n", - "data = create_communication(api_key, communication_body, contact_id, communication_datetime, \"LINKEDIN_MESSAGE\")\n", + "data = create_communication(hs_access_token, communication_body, contact_id, communication_datetime, \"LINKEDIN_MESSAGE\")\n", "data" ] }, @@ -325,4 +325,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +}