> For the complete documentation index, see [llms.txt](https://docs-vnext.kiflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-vnext.kiflo.com/integrations/hubspot/how-to-access-hubspot-logs.md).

# How to access HubSpot sync logs?

{% hint style="info" %}
This article refers to the **HubSpot integration**. If you haven't connected Kiflo with HubSpot yet please read the [related documentation](/integrations/hubspot/hubspot.md) first.
{% endhint %}

It may be tricky sometimes to understand why your leads or deals are not synced at all, or partially synced with HubSpot.

To help you troubleshoot the integration Kiflo provides detailed logs for each lead and deal.

## Access logs per lead/deal

To access integration logs for a particular lead or deal:

* Open the lead/deal's page
* On the left section scroll down to the "HubSpot sync" section:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-41eb59c9ce6e9913d8069a645b815cd3a1a30a5c%2F65df3f080f2a4c04f24d9bb3.png?alt=media)

{% hint style="warning" %}
**Wait, I don't see this section on the lead/deal's page**

If you don't see the "HubSpot sync" section on the left sidebar please make sure:

1. Your HubSpot integration is enabled: [read article](/integrations/hubspot/hubspot.md#enable-hubspot-integration)
2. You turned on the right settings: [read article](/integrations/hubspot/hubspot.md#turn-on-settings)

When Kiflo deals are not synced with HubSpot the section "HubSpot sync" is hidden on all deal's pages.

When Kiflo leads are not synced with HubSpot the section "HubSpot sync" is hidden on all lead's pages.
{% endhint %}

From this section, you have access to:

* **Last sync date**: The last time an attempt (successful or not) to sync the object with HubSpot occurred
* **View in HubSpot**: Quick access link to go on HubSpot and open the corresponding contact or deal
* **View logs:** Open detailed logs

Click the "**View logs"** link to open the detailed logs:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-5936b099d8bb1c454ce81f4af5c2a73fb6cb3ba9%2F65df4202e1b8450992791f65.png?alt=media)

This window shows useful information and error messages in case of errors. Including:

* **Date**: The date when the synchronization attempt occurred
* **Status**: The status of the attempt
* **Direction**: The direction of the data
* **HubSpot ID**: The identifier of the contact or deal in HubSpot. Click on the link to open the corresponding object in HubSpot.
* **Message**: The error message returned by HubSpot or generated by Kiflo. Use the information from this column to troubleshoot why a lead/deal is not synced as you expect.

## Access general logs

To access logs and the synchronization statues for all leads and deals:

* Go to the **Manage** page
* Click on **Integrations**, then **HubSpot**
* Click on the **Logs** tab:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-9ede06506329e21fa2f6f2058baef1e5d980d98d%2F65df4341eeacc5315bb86474.png?alt=media)

{% hint style="warning" %}
**Wait, I don't see the "Logs" tab**

If you don't see this tab, please make sure your HubSpot integration is enabled: [read article](/integrations/hubspot/hubspot.md#enable-hubspot-integration)
{% endhint %}

This page shows detailed logs for all leads/deals synced with HubSpot. Including:

* **Date**: The date when the synchronization attempt occurred
* **Status**: The status of the attempt
* **Direction**: The direction of the data
* **Entity**: The related lead or deal in Kiflo. Click on the link to open it.
* **HubSpot ID**: The identifier of the contact or deal in HubSpot. Click on the link to open the corresponding object in HubSpot.
* **Message**: The error message returned by HubSpot or generated by Kiflo. Use the information from this column to troubleshoot why a lead/deal is not synced as you expect.

## Filter logs

Filter logs by status or date to narrow down your problem:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-6f0a0452f7dd4529a965452b6ca1e9f3ea2b4a01%2F65df4481e1b8450992791f6c.png?alt=media)

You will see only failed attempts:

![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-13f86ef42a6233f6cb580a2a507813c53abcb8bc%2F65df44efeeacc5315bb86479.png?alt=media)

{% hint style="warning" %}
**Still can't figure out why our integration is not working?**

Please reach out to us, we'll be happy to assist you: <help@kiflo.com>
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-vnext.kiflo.com/integrations/hubspot/how-to-access-hubspot-logs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
