# Develop, Build & Integrate

**URL:** https://community.hubspot.com/c/develop-build-integrate/58.md?page=266

[Latest](https://community.hubspot.com/latest.md) · [Categories](https://community.hubspot.com/categories.md) · [Tags](https://community.hubspot.com/tags.md)

**Page:** 267

---

## [Add files to Company via API](https://community.hubspot.com/t/add-files-to-company-via-api/95407)

<div class="topic-metadata">

**Author:** [@kobrien94](https://community.hubspot.com/u/kobrien94)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 8:07pm UTC](https://community.hubspot.com/t/add-files-to-company-via-api/95407 "2023-12-05T20:07:00Z")

</div>

Is there a way through the HubSpot API to add a PDF file to a Company in HubSpot under the attachments section? I am auto-generating a PDF in my C# application. After the PDF is created, I am trying to post this PDF to …

---

## [Custom module not available on Landing pages](https://community.hubspot.com/t/custom-module-not-available-on-landing-pages/94105)

<div class="topic-metadata">

**Author:** [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Replies:** 8\
**Last updated:** [December 5, 2023, 7:18pm UTC](https://community.hubspot.com/t/custom-module-not-available-on-landing-pages/94105 "2023-12-05T19:18:19Z")

</div>

I’m having a weird issue that I should be able to figure out, but I’m currently stumped. I added a new custom module in the desugn tools. It shows up as a module available to the website page builder (under theme module…

---

## [Seeking the Best Quickbooks Online Integration with HS](https://community.hubspot.com/t/seeking-the-best-quickbooks-online-integration-with-hs/30076)

<div class="topic-metadata">

**Author:** [@AnythingPrintca](https://community.hubspot.com/u/AnythingPrintca)\
**Replies:** 6\
**Last updated:** [December 5, 2023, 7:12pm UTC](https://community.hubspot.com/t/seeking-the-best-quickbooks-online-integration-with-hs/30076 "2023-12-05T19:12:05Z")

</div>

Happy New Year Everyone! We are looking to add the QBO integration but we see there are several apps that offer this service and we are looking for recommendations on the BEST option available. Between the apps they are…

---

## [Just how mandatory is email to create a contact?](https://community.hubspot.com/t/just-how-mandatory-is-email-to-create-a-contact/95292)

<div class="topic-metadata">

**Author:** [@DBrazil](https://community.hubspot.com/u/DBrazil)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 4:06pm UTC](https://community.hubspot.com/t/just-how-mandatory-is-email-to-create-a-contact/95292 "2023-12-05T16:06:04Z")

</div>

On occassions where my data enrichment automatically creates a new contact (using Apollo) it fails because it says Hubspot require an email to creat the contact and Apollo can’t find it. Yet I do have contacts in Hubspo…

---

## [Error enrolling user to workflow](https://community.hubspot.com/t/error-enrolling-user-to-workflow/94120)

<div class="topic-metadata">

**Author:** [@kobrien94](https://community.hubspot.com/u/kobrien94)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 2:34pm UTC](https://community.hubspot.com/t/error-enrolling-user-to-workflow/94120 "2023-12-05T14:34:13Z")

</div>

Endpoint: /automation/v2/workflows/{workflowID}/enrollments/contacts/{email} Some cases I am getting this response: { “status”: “error”, “message”: “com.hubspot.apicaller.exceptions.ApiErrorResponseException: Api\[name=…

---

## [Custom Code to find Duplicate Phone Numbers](https://community.hubspot.com/t/custom-code-to-find-duplicate-phone-numbers/95178)

<div class="topic-metadata">

**Author:** [@matt72](https://community.hubspot.com/u/matt72)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 2:26pm UTC](https://community.hubspot.com/t/custom-code-to-find-duplicate-phone-numbers/95178 "2023-12-05T14:26:15Z")

</div>

Hello, I’m learning to code and work with web developers that can help me write code. We need to write custom code that will be used in a workflow. The code would take the contact in the workflow’s phone number and chec…

---

## [refreshToken becomes invalid too fast](https://community.hubspot.com/t/refreshtoken-becomes-invalid-too-fast/91181)

<div class="topic-metadata">

**Author:** [@Onimidori](https://community.hubspot.com/u/Onimidori)\
**Replies:** 13\
**Last updated:** [December 5, 2023, 11:30am UTC](https://community.hubspot.com/t/refreshtoken-becomes-invalid-too-fast/91181 "2023-12-05T11:30:43Z")

</div>

Our integration has accessToken and refreshToken that we use to make queries to HubSpot. These tokens are needed to be updated from time to time, we update both when accessToken expires because refreshToken has better lo…

---

## [Getting contact's attachments via API](https://community.hubspot.com/t/getting-contacts-attachments-via-api/94921)

<div class="topic-metadata">

**Author:** [@Dawidk](https://community.hubspot.com/u/Dawidk)\
**Replies:** 1\
**Last updated:** [December 5, 2023, 9:07am UTC](https://community.hubspot.com/t/getting-contacts-attachments-via-api/94921 "2023-12-05T09:07:24Z")

</div>

how can I fetch files/attachments associated with a contact on a private page? The flow: 1. User (from the list) login in a private page 2. After login we grab the contact ID 3. Based on ID we get attachments associat…

---

## [Need to upload my users email to HubSpot via API](https://community.hubspot.com/t/need-to-upload-my-users-email-to-hubspot-via-api/95281)

<div class="topic-metadata">

**Author:** [@Zaidwithdkg](https://community.hubspot.com/u/Zaidwithdkg)\
**Replies:** 2\
**Last updated:** [December 5, 2023, 3:30am UTC](https://community.hubspot.com/t/need-to-upload-my-users-email-to-hubspot-via-api/95281 "2023-12-05T03:30:02Z")

</div>

I have an issue with this https://api.hubapi.com/contacts/v1/lists/3/add API In the attached SS you can see my request payload and the error. I have done the same as the given documentation https://legacydocs.hubspo…

---

## [How to create report showing all contacts who attended a specific webinar?](https://community.hubspot.com/t/how-to-create-report-showing-all-contacts-who-attended-a-specific-webinar/74374)

<div class="topic-metadata">

**Author:** [@EileenRomito](https://community.hubspot.com/u/EileenRomito)\
**Replies:** 4\
**Last updated:** [December 4, 2023, 9:49pm UTC](https://community.hubspot.com/t/how-to-create-report-showing-all-contacts-who-attended-a-specific-webinar/74374 "2023-12-04T21:49:03Z")

</div>

Hi, we currently have Hubspot integrated with Zoom, so that on the activity timeline for each contact, we can see if they ever registered for a webinar, and the name of that webinar. I am looking for a way to generate a…

---

## [Fetching company-contact association returns only primary associations](https://community.hubspot.com/t/fetching-company-contact-association-returns-only-primary-associations/95164)

<div class="topic-metadata">

**Author:** [@christos\_jubile](https://community.hubspot.com/u/christos_jubile)\
**Replies:** 1\
**Last updated:** [December 4, 2023, 8:54pm UTC](https://community.hubspot.com/t/fetching-company-contact-association-returns-only-primary-associations/95164 "2023-12-04T20:54:15Z")

</div>

Hello I am using the below python function to fetch all contacts associated with a company def get\_associated\_contacts(access\_token, company\_id): url = f"https://api.hubapi.com/crm/v3/objects/companies{company\_id}/assoc…

---

## [Live Chat throws errors on first open](https://community.hubspot.com/t/live-chat-throws-errors-on-first-open/95205)

<div class="topic-metadata">

**Author:** [@WijnandWF](https://community.hubspot.com/u/WijnandWF)\
**Replies:** 1\
**Last updated:** [December 4, 2023, 8:49pm UTC](https://community.hubspot.com/t/live-chat-throws-errors-on-first-open/95205 "2023-12-04T20:49:16Z")

</div>

Hi there! We have an extensive integration with Hubspot and are looking to integrate the Livechat onto our customer-facing platform. We load the hubspot tracking code through our GTM. The live-chat is fully functional…

---

## [uploading fonts via CMS](https://community.hubspot.com/t/uploading-fonts-via-cms/95206)

<div class="topic-metadata">

**Author:** [@Arunkishore](https://community.hubspot.com/u/Arunkishore)\
**Replies:** 6\
**Last updated:** [December 4, 2023, 5:10pm UTC](https://community.hubspot.com/t/uploading-fonts-via-cms/95206 "2023-12-04T17:10:10Z")

</div>

Hello, I am trying to upload the font file in cmsdefaultsystem pages. But I couldn’t do that. The options “New File in Fonts” “Upload file in fonts” are visible but are not accessible. I hope you can help me with this!

---

## [Original source and UTM parameters](https://community.hubspot.com/t/original-source-and-utm-parameters/88986)

<div class="topic-metadata">

**Author:** [@stevegb](https://community.hubspot.com/u/stevegb)\
**Replies:** 3\
**Last updated:** [December 4, 2023, 4:12pm UTC](https://community.hubspot.com/t/original-source-and-utm-parameters/88986 "2023-12-04T16:12:53Z")

</div>

Hello, I’m having trouble understanding something based on the documentation. Does the GTM tracking code "https://js.hs-scripts.com/xxxxx.js" look at the UTM queury parameters at the time of firing in order to set orig…

---

## [Where should I start building my page from strach?](https://community.hubspot.com/t/where-should-i-start-building-my-page-from-strach/95213)

<div class="topic-metadata">

**Author:** [@zelenemartin](https://community.hubspot.com/u/zelenemartin)\
**Replies:** 4\
**Last updated:** [December 4, 2023, 2:58pm UTC](https://community.hubspot.com/t/where-should-i-start-building-my-page-from-strach/95213 "2023-12-04T14:58:43Z")

</div>

Can someone help me how can I build the my website, I want to replicate my other website to hubspot website.

---

## [Page loading performance issues](https://community.hubspot.com/t/page-loading-performance-issues/49129)

<div class="topic-metadata">

**Author:** [@urban](https://community.hubspot.com/u/urban)\
**Replies:** 15\
**Last updated:** [December 4, 2023, 1:54pm UTC](https://community.hubspot.com/t/page-loading-performance-issues/49129 "2023-12-04T13:54:25Z")

</div>

We use Gatsby v4 for our site. I’m trying to find a good solution to improve the page loading time. We currently use gatsby-plugin-hubspot to embed the tracking code, use the Chat widget and so on. But, Hubspot seems to…

---

## [Send email whenever new contact associated to object](https://community.hubspot.com/t/send-email-whenever-new-contact-associated-to-object/76259)

<div class="topic-metadata">

**Author:** [@nickgi](https://community.hubspot.com/u/nickgi)\
**Replies:** 9\
**Last updated:** [December 4, 2023, 1:39pm UTC](https://community.hubspot.com/t/send-email-whenever-new-contact-associated-to-object/76259 "2023-12-04T13:39:59Z")

</div>

Let’s say we have a custom object called Tours. Every time a new contact is associated with a Tour, we want Hubspot to automatically send out a welcome email to the contact. The email would need to contain peronalization…

---

## [Automated Assignment of New Conversations to Specific Contacts via API](https://community.hubspot.com/t/automated-assignment-of-new-conversations-to-specific-contacts-via-api/92462)

<div class="topic-metadata">

**Author:** [@FGless](https://community.hubspot.com/u/FGless)\
**Replies:** 2\
**Last updated:** [December 4, 2023, 1:09pm UTC](https://community.hubspot.com/t/automated-assignment-of-new-conversations-to-specific-contacts-via-api/92462 "2023-12-04T13:09:46Z")

</div>

Hello everyone, We are heavily utilizing WhatsApp and are looking for a way to automatically assign new conversations to specific contacts. Until now, it seems like this assignment is only possible through the UI, which…

---

## [How to make a PUT/PATCH API call via Conversations API](https://community.hubspot.com/t/how-to-make-a-put-patch-api-call-via-conversations-api/95270)

<div class="topic-metadata">

**Author:** [@stractest](https://community.hubspot.com/u/stractest)\
**Replies:** 1\
**Last updated:** [December 4, 2023, 12:25pm UTC](https://community.hubspot.com/t/how-to-make-a-put-patch-api-call-via-conversations-api/95270 "2023-12-04T12:25:09Z")

</div>

Hi, I have a use case to update a message content within a conversation thread via the Conversations API so that certain sensitive texts/attachments could be masked. From the developer documentation, I don’t see any en…

---

## [Gravity Forms + Hubspot Add-on and HubSpot All-In-One Marketing plugin](https://community.hubspot.com/t/gravity-forms-hubspot-add-on-and-hubspot-all-in-one-marketing-plugin/95238)

<div class="topic-metadata">

**Author:** [@JL2124](https://community.hubspot.com/u/JL2124)\
**Replies:** 2\
**Last updated:** [December 4, 2023, 12:23pm UTC](https://community.hubspot.com/t/gravity-forms-hubspot-add-on-and-hubspot-all-in-one-marketing-plugin/95238 "2023-12-04T12:23:25Z")

</div>

Hi, Im thinking about switching our wordpress forms over to Gravity forms because we have been having issues with Ninja forms and the Hubspot All-in-One Plugin. You can see my post below if anyone is interested in the p…

---

## [How to use themes to conditionally style text](https://community.hubspot.com/t/how-to-use-themes-to-conditionally-style-text/95248)

<div class="topic-metadata">

**Author:** [@emilytm](https://community.hubspot.com/u/emilytm)\
**Replies:** 2\
**Last updated:** [December 3, 2023, 3:58pm UTC](https://community.hubspot.com/t/how-to-use-themes-to-conditionally-style-text/95248 "2023-12-03T15:58:21Z")

</div>

Hi - thanks in advance for any help people can give me. There is clearly something I’m missing about themes and I’m not even sure what to search for to figure this out. I am working on converting the website I inherited…

---

## [Custom Coded Workflow for Formatting Phone Number](https://community.hubspot.com/t/custom-coded-workflow-for-formatting-phone-number/92964)

<div class="topic-metadata">

**Author:** [@tnielsen](https://community.hubspot.com/u/tnielsen)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 11:32pm UTC](https://community.hubspot.com/t/custom-coded-workflow-for-formatting-phone-number/92964 "2023-12-01T23:32:51Z")

</div>

I am trying to get the custom coded workflow example working for formatting a phone number but I am getting errors. Here is the code: /\*\* \* Transforms a 10-digit U.S. phone number into a standard format. \*/ const PHO…

---

## [Error when I want to integrate with Canva](https://community.hubspot.com/t/error-when-i-want-to-integrate-with-canva/95193)

<div class="topic-metadata">

**Author:** [@NWiseQ](https://community.hubspot.com/u/NWiseQ)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 9:58pm UTC](https://community.hubspot.com/t/error-when-i-want-to-integrate-with-canva/95193 "2023-12-01T21:58:05Z")

</div>

Hi all! I have been trying to connect HubSpot and Canva but whenever I try this I get the error that this app needs to be updated. Does this mean that the HubSpot app needs to be updated within Canva? I have added a sc…

---

## [create template](https://community.hubspot.com/t/create-template/95221)

<div class="topic-metadata">

**Author:** [@MHussain8](https://community.hubspot.com/u/MHussain8)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 9:55pm UTC](https://community.hubspot.com/t/create-template/95221 "2023-12-01T21:55:49Z")

</div>

how to create website template using fields through coding. please share me example code of template.

---

## [How upload files using webhooks of a application?](https://community.hubspot.com/t/how-upload-files-using-webhooks-of-a-application/95222)

<div class="topic-metadata">

**Author:** [@naixs](https://community.hubspot.com/u/naixs)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 9:51pm UTC](https://community.hubspot.com/t/how-upload-files-using-webhooks-of-a-application/95222 "2023-12-01T21:51:25Z")

</div>

I am trying to create an application and I need it to, in addition to creating a card when responding to the webhook, also previously generate or upload a file to the client’s account. Is this possible? I’m using this do…

---

## [How can I detect that a note has been deleted in Hubspot?](https://community.hubspot.com/t/how-can-i-detect-that-a-note-has-been-deleted-in-hubspot/95242)

<div class="topic-metadata">

**Author:** [@VBossio](https://community.hubspot.com/u/VBossio)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 9:44pm UTC](https://community.hubspot.com/t/how-can-i-detect-that-a-note-has-been-deleted-in-hubspot/95242 "2023-12-01T21:44:20Z")

</div>

Is there any way to detect that a note has been deleted in Hubspot? The goal is for an admin to be alerted that a note has been deleted so that they can take action. Right now I see no webhook or API call that returns …

---

## [CRM Extension Card: How to retrieve associatedCompanyId from Record type Deals](https://community.hubspot.com/t/crm-extension-card-how-to-retrieve-associatedcompanyid-from-record-type-deals/95118)

<div class="topic-metadata">

**Author:** [@AKempen](https://community.hubspot.com/u/AKempen)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 9:41pm UTC](https://community.hubspot.com/t/crm-extension-card-how-to-retrieve-associatedcompanyid-from-record-type-deals/95118 "2023-12-01T21:41:40Z")

</div>

LS, We are building a CRM extension card called “Pricing”, we want to target record type Deals. Within this card we want to show a subscription linked to this deal on our platform, to do so we need to know for which com…

---

## [Automatically Log Emails to the Website Object](https://community.hubspot.com/t/automatically-log-emails-to-the-website-object/95166)

<div class="topic-metadata">

**Author:** [@PElevar](https://community.hubspot.com/u/PElevar)\
**Replies:** 3\
**Last updated:** [December 1, 2023, 9:20pm UTC](https://community.hubspot.com/t/automatically-log-emails-to-the-website-object/95166 "2023-12-01T21:20:36Z")

</div>

Is it possible to automatically log emails to the website object? For context - when using the Hubspot Chrome Extension it’s possible to automatically log emaisl to contacts, deals and companies. We use custom objects c…

---

## [Sync WordPress MemberPress Users With HubSpot Users](https://community.hubspot.com/t/sync-wordpress-memberpress-users-with-hubspot-users/21346)

<div class="topic-metadata">

**Author:** [@JBMDCreations](https://community.hubspot.com/u/JBMDCreations)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 8:16pm UTC](https://community.hubspot.com/t/sync-wordpress-memberpress-users-with-hubspot-users/21346 "2023-12-01T20:16:00Z")

</div>

I run a networking groups website and we use MemberPress for all of the members for payment and registration for member only content / information. What problem we were running into was easy integration test 1:1 meeting…

---

## [Is Not JSON serializable (Python query)](https://community.hubspot.com/t/is-not-json-serializable-python-query/95055)

<div class="topic-metadata">

**Author:** [@TB86](https://community.hubspot.com/u/TB86)\
**Replies:** 1\
**Last updated:** [December 1, 2023, 8:02pm UTC](https://community.hubspot.com/t/is-not-json-serializable-python-query/95055 "2023-12-01T20:02:05Z")

</div>

Hi I’m trying to retrieve deal information via the following Python code: import hubspot import requests import json from pprint import pprint from hubspot.crm.deals import PublicObjectSearchRequest, ApiException a…

[Previous page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=265)

[Next page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=267)
