# Data Hub

**URL:** https://community.hubspot.com/c/data/data-hub/99.md?page=19

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

**Page:** 20

---

## [Custom code mysql too many connections](https://community.hubspot.com/t/custom-code-mysql-too-many-connections/57266)

<div class="topic-metadata">

**Author:** [@thomasvbe](https://community.hubspot.com/u/thomasvbe)\
**Replies:** 2\
**Last updated:** [May 20, 2022, 5:27am UTC](https://community.hubspot.com/t/custom-code-mysql-too-many-connections/57266 "2022-05-20T05:27:55Z")

</div>

Hi, I’ve got a custom code workflow where I try to get data from an external MySQL database. I get a “too many connections” error because it’s possible that more than 200 contacts go through that workflow at the same tim…

---

## [How to learn who's account user purchased a package?](https://community.hubspot.com/t/how-to-learn-whos-account-user-purchased-a-package/57274)

<div class="topic-metadata">

**Author:** [@MarianaBravo](https://community.hubspot.com/u/MarianaBravo)\
**Replies:** 4\
**Last updated:** [May 19, 2022, 9:28am UTC](https://community.hubspot.com/t/how-to-learn-whos-account-user-purchased-a-package/57274 "2022-05-19T09:28:09Z")

</div>

Hello everyone! I would like to learn more about how to see the history of a purchase in HS. Can’t find this tab, because I assume we are able to do it. Thank you in advance!

---

## [IF formula where the input properties are datetime and date (and other issues with Line Item Start)](https://community.hubspot.com/t/if-formula-where-the-input-properties-are-datetime-and-date-and-other-issues-with-line-item-start/56937)

<div class="topic-metadata">

**Author:** [@PBaxter](https://community.hubspot.com/u/PBaxter)\
**Replies:** 0\
**Last updated:** [May 13, 2022, 4:27pm UTC](https://community.hubspot.com/t/if-formula-where-the-input-properties-are-datetime-and-date-and-other-issues-with-line-item-start/56937 "2022-05-13T16:27:14Z")

</div>

Hi All, Anyone had any joy working with the Line Item “start date” property? It’s causing me heartache. Simply, I want to create a Line Item / Deals report with a date field that either shows the “start date” (if that…

---

## [Workflow Extensions - Get Hubspot User ID on External Data](https://community.hubspot.com/t/workflow-extensions-get-hubspot-user-id-on-external-data/51504)

<div class="topic-metadata">

**Author:** [@GAvila](https://community.hubspot.com/u/GAvila)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 5:33am UTC](https://community.hubspot.com/t/workflow-extensions-get-hubspot-user-id-on-external-data/51504 "2022-05-13T05:33:37Z")

</div>

Hey guys, We are using the Workflow Extensions here and it works like a charm. However, now we would like to retrieve the Hubspot User Id on external data, something like this: 1. Somehow, get the Hubspot User ID 2. S…

---

## [TypeError: Cannot read property 'getById' of undefined when calling ownersApi.GetById](https://community.hubspot.com/t/typeerror-cannot-read-property-getbyid-of-undefined-when-calling-ownersapi-getbyid/50129)

<div class="topic-metadata">

**Author:** [@gjm222](https://community.hubspot.com/u/gjm222)\
**Replies:** 5\
**Last updated:** [May 5, 2022, 5:06pm UTC](https://community.hubspot.com/t/typeerror-cannot-read-property-getbyid-of-undefined-when-calling-ownersapi-getbyid/50129 "2022-05-05T17:06:41Z")

</div>

Getting When calling hubspotClient.crm.owners.ownersApi.getById from workflow custom cod get the following error....TypeError: Cannot read property 'getById' of undefined at Object.exports.main (/var/task/file.js:138:7…

---

## [Use Operations Hub for deduplication?](https://community.hubspot.com/t/use-operations-hub-for-deduplication/55323)

<div class="topic-metadata">

**Author:** [@davecriswell](https://community.hubspot.com/u/davecriswell)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 5:26pm UTC](https://community.hubspot.com/t/use-operations-hub-for-deduplication/55323 "2022-04-20T17:26:19Z")

</div>

We’re looking into implementation of Operations Hub and have plenty of use cases to move forward. However, one item we thought might be possible is using data quality automation for deduplication of contact or company re…

---

## [Support for Sentry in Workflow Custom Code](https://community.hubspot.com/t/support-for-sentry-in-workflow-custom-code/55226)

<div class="topic-metadata">

**Author:** [@JKeilty](https://community.hubspot.com/u/JKeilty)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 3:47pm UTC](https://community.hubspot.com/t/support-for-sentry-in-workflow-custom-code/55226 "2022-04-19T15:47:49Z")

</div>

I had been looking over the Workflows Custom Code Workflows | Custom Code Actions - HubSpot docs and the Node.js supported libraries. I was wondering if there is any planned support for Sentry? (https://www.npmjs.com/pa…

---

## [Debugging Custom Code](https://community.hubspot.com/t/debugging-custom-code/53019)

<div class="topic-metadata">

**Author:** [@KBoyd0](https://community.hubspot.com/u/KBoyd0)\
**Replies:** 2\
**Last updated:** [April 14, 2022, 10:47pm UTC](https://community.hubspot.com/t/debugging-custom-code/53019 "2022-04-14T22:47:26Z")

</div>

Hi all, I’m using the following custom code to create a referral program within Hubspot (I’m actually following instructions I found online from a fellow Hubspoter). I keep getting an error message - it seems like I’m no…

---

## [Custom Code workflow](https://community.hubspot.com/t/custom-code-workflow/52186)

<div class="topic-metadata">

**Author:** [@Wiljekoffie](https://community.hubspot.com/u/Wiljekoffie)\
**Replies:** 4\
**Last updated:** [April 13, 2022, 8:00am UTC](https://community.hubspot.com/t/custom-code-workflow/52186 "2022-04-13T08:00:03Z")

</div>

const hubspot = require('@hubspot/api-client'); const hubspotClient = new hubspot.Client({"apiKey":"YOUR\_HUBSPOT\_API\_KEY"}); const properties = { "conversation\_dashboard": "test\_object1" }; const SimplePublicObjectInp…

---

## [Datasets - IF Formulas](https://community.hubspot.com/t/datasets-if-formulas/54667)

<div class="topic-metadata">

**Author:** [@CD81](https://community.hubspot.com/u/CD81)\
**Replies:** 0\
**Last updated:** [April 8, 2022, 12:36pm UTC](https://community.hubspot.com/t/datasets-if-formulas/54667 "2022-04-08T12:36:34Z")

</div>

Hi, i’m hoping to use an If statement in dataset formula field to identify when particular multi-select properties were chosen. I’m getting a syntax error showing, referring me the support documentation, but i cant find…

---

## [Data Sync April Office Hours - Thread for questions](https://community.hubspot.com/t/data-sync-april-office-hours-thread-for-questions/54486)

<div class="topic-metadata">

**Author:** [@FransLeys](https://community.hubspot.com/u/FransLeys)\
**Replies:** 3\
**Last updated:** [April 7, 2022, 2:09pm UTC](https://community.hubspot.com/t/data-sync-april-office-hours-thread-for-questions/54486 "2022-04-07T14:09:59Z")

</div>

Hey everyone, I was supposed to have open office hours later today. You know I consider these office hours as a cross between a personal customer support call and a webinar where - as a group - we try to give you a solu…

---

## [Creating an association label for a new deal](https://community.hubspot.com/t/creating-an-association-label-for-a-new-deal/53612)

<div class="topic-metadata">

**Author:** [@PAtlan](https://community.hubspot.com/u/PAtlan)\
**Replies:** 2\
**Last updated:** [April 6, 2022, 7:42am UTC](https://community.hubspot.com/t/creating-an-association-label-for-a-new-deal/53612 "2022-04-06T07:42:39Z")

</div>

I’m creating a new deal when a contact reaches a “lead status” value. this is easy enough to do with the current workflow engine, and it will even associate the deal with the contact. However, I want this association t…

---

## [Dataset formula to count empty dates](https://community.hubspot.com/t/dataset-formula-to-count-empty-dates/54234)

<div class="topic-metadata">

**Author:** [@SimonP1](https://community.hubspot.com/u/SimonP1)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 2:33pm UTC](https://community.hubspot.com/t/dataset-formula-to-count-empty-dates/54234 "2022-04-05T14:33:36Z")

</div>

Hi all, I am using datasets and formulas and trying to figure out how to calculate the number of empty dates in a specific custom field. Is there a formula that checks whether a date field is empty and returns a true/fa…

---

## [Error while using custom code trying to format US phone numbers](https://community.hubspot.com/t/error-while-using-custom-code-trying-to-format-us-phone-numbers/54132)

<div class="topic-metadata">

**Author:** [@Yenma\_H](https://community.hubspot.com/u/Yenma_H)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 2:05pm UTC](https://community.hubspot.com/t/error-while-using-custom-code-trying-to-format-us-phone-numbers/54132 "2022-04-05T14:05:24Z")

</div>

Hello! I could use your help. I am trying to use the custom code to update US phone numbers. I’m trying to use this code: https://github.com/HubSpot/sample-workflow-custom-code/blob/main/samples/format\_phone.js Unfortun…

---

## [Problem with syncing linked Airtable tables](https://community.hubspot.com/t/problem-with-syncing-linked-airtable-tables/54331)

<div class="topic-metadata">

**Author:** [@FTraning](https://community.hubspot.com/u/FTraning)\
**Replies:** 1\
**Last updated:** [April 5, 2022, 12:36pm UTC](https://community.hubspot.com/t/problem-with-syncing-linked-airtable-tables/54331 "2022-04-05T12:36:11Z")

</div>

Hi! I have an Airtable base with two linked tables; Companies and Contacts. I’m trying to sync these tables with Hubspot but I can’t get it to work. Hubspot wants domain names for companies but most of my companies d…

---

## [What is the #1 thing that you want to see us add to Operations Hub](https://community.hubspot.com/t/what-is-the-1-thing-that-you-want-to-see-us-add-to-operations-hub/52014)

<div class="topic-metadata">

**Author:** [@jbogaert](https://community.hubspot.com/u/jbogaert)\
**Replies:** 10\
**Last updated:** [April 2, 2022, 7:19pm UTC](https://community.hubspot.com/t/what-is-the-1-thing-that-you-want-to-see-us-add-to-operations-hub/52014 "2022-04-02T19:19:32Z")

</div>

Hi everyone! What feature do you want to see us add to Operations Hub? You can dig into some of your frustrations or let your imagination run free. Let us know what you want to see, whether it’s a new functionality on a…

---

## [Which of these automation tools have you used now or in the past?](https://community.hubspot.com/t/which-of-these-automation-tools-have-you-used-now-or-in-the-past/37869)

<div class="topic-metadata">

**Author:** [@mbarba](https://community.hubspot.com/u/mbarba)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 3:21pm UTC](https://community.hubspot.com/t/which-of-these-automation-tools-have-you-used-now-or-in-the-past/37869 "2022-03-30T15:21:52Z")

</div>

What software have you used now or in the past to automate processes at work? To make this easy, feel free to reply with the number associated with each! Automate.io Celigo Integromat Jitterbit Mulesoft PieSync Segm…

---

## [Custom code in workflow - To send email to a certain contact.](https://community.hubspot.com/t/custom-code-in-workflow-to-send-email-to-a-certain-contact/49476)

<div class="topic-metadata">

**Author:** [@ChrisChiha](https://community.hubspot.com/u/ChrisChiha)\
**Replies:** 5\
**Last updated:** [March 28, 2022, 2:45am UTC](https://community.hubspot.com/t/custom-code-in-workflow-to-send-email-to-a-certain-contact/49476 "2022-03-28T02:45:33Z")

</div>

Hello, I am currently looking to use custom code in my workflows to send an email to a certain contact in my deal. Noting: - I have multiple contact types inside a deal - I am using deal-based worfklows as i have dea…

---

## [Cannot find my profile](https://community.hubspot.com/t/cannot-find-my-profile/53708)

<div class="topic-metadata">

**Author:** [@RSalisbury](https://community.hubspot.com/u/RSalisbury)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 8:38pm UTC](https://community.hubspot.com/t/cannot-find-my-profile/53708 "2022-03-23T20:38:15Z")

</div>

Hello, I recently logged into my HubSpot for the first time in probably over 6 months. I have my hub ID but it is not showing up in my account and unsure how to locate it now. I had lots of information on there and real…

---

## [Create company-based workflow using Workflow API](https://community.hubspot.com/t/create-company-based-workflow-using-workflow-api/52803)

<div class="topic-metadata">

**Author:** [@MaxxiFernandes](https://community.hubspot.com/u/MaxxiFernandes)\
**Replies:** 2\
**Last updated:** [March 15, 2022, 3:52pm UTC](https://community.hubspot.com/t/create-company-based-workflow-using-workflow-api/52803 "2022-03-15T15:52:23Z")

</div>

Today within hubspot there is no possibility to create company-based and deal-based workflows using workflow API?

---

## [Notification Pop-up won't go away.](https://community.hubspot.com/t/notification-pop-up-wont-go-away/53204)

<div class="topic-metadata">

**Author:** [@WCorcoran](https://community.hubspot.com/u/WCorcoran)\
**Replies:** 1\
**Last updated:** [March 15, 2022, 3:37pm UTC](https://community.hubspot.com/t/notification-pop-up-wont-go-away/53204 "2022-03-15T15:37:00Z")

</div>

How do I get rid of the notification pop-up

---

## [Integrating HS with Outreach](https://community.hubspot.com/t/integrating-hs-with-outreach/39054)

<div class="topic-metadata">

**Author:** [@SWilcox](https://community.hubspot.com/u/SWilcox)\
**Replies:** 4\
**Last updated:** [March 14, 2022, 4:26pm UTC](https://community.hubspot.com/t/integrating-hs-with-outreach/39054 "2022-03-14T16:26:13Z")

</div>

Hi all - My sales team recently purchased Outreach for SDR automation and I’m trying to synch HS and Outreach. right now web hits, eg, go to HS first and HS is our single source of truth. i have basic contact sync’ing w…

---

## [Custom workflow actions - file upload](https://community.hubspot.com/t/custom-workflow-actions-file-upload/52772)

<div class="topic-metadata">

**Author:** [@IP8](https://community.hubspot.com/u/IP8)\
**Replies:** 1\
**Last updated:** [March 11, 2022, 3:52pm UTC](https://community.hubspot.com/t/custom-workflow-actions-file-upload/52772 "2022-03-11T15:52:07Z")

</div>

Is it possible to upload a file in a custom workflow action? I followed Accounts Dashboard | HubSpot but setting fieldtype: “file” for input field doesn’t seem to be working { "typeDefinition": { "name": "FileUpload…

---

## [Identifying who changed a property in a workflow](https://community.hubspot.com/t/identifying-who-changed-a-property-in-a-workflow/52593)

<div class="topic-metadata">

**Author:** [@BPerram](https://community.hubspot.com/u/BPerram)\
**Replies:** 3\
**Last updated:** [March 11, 2022, 12:21pm UTC](https://community.hubspot.com/t/identifying-who-changed-a-property-in-a-workflow/52593 "2022-03-11T12:21:05Z")

</div>

Hi all, I’m trying to create a workflow that can check to see who changed the stage of a deal, as in we have a specific team that is soley responsible for updating a deal to a certain stage, and only they should be able…

---

## [Workflow API V3 not responding all filters and actions](https://community.hubspot.com/t/workflow-api-v3-not-responding-all-filters-and-actions/52791)

<div class="topic-metadata">

**Author:** [@BGeiger](https://community.hubspot.com/u/BGeiger)\
**Replies:** 0\
**Last updated:** [March 9, 2022, 8:37am UTC](https://community.hubspot.com/t/workflow-api-v3-not-responding-all-filters-and-actions/52791 "2022-03-09T08:37:08Z")

</div>

Hello, currently I am trying to integrate the workflow API to our Hubspot App. I noticed that the endpoint https://api.hubapi.com/automation/v3/workflows/{workflowID} is not responding all filters and actions of branc…

---

## [Can Operations Hub receive and process webhook events from a third-party system?](https://community.hubspot.com/t/can-operations-hub-receive-and-process-webhook-events-from-a-third-party-system/52065)

<div class="topic-metadata">

**Author:** [@JWallaceKT](https://community.hubspot.com/u/JWallaceKT)\
**Replies:** 3\
**Last updated:** [March 3, 2022, 4:05pm UTC](https://community.hubspot.com/t/can-operations-hub-receive-and-process-webhook-events-from-a-third-party-system/52065 "2022-03-03T16:05:01Z")

</div>

Does the Operations Hub support receiving webhook events from a third-party, not just sending them out? This is the flow we need in Operations Hub: Complete the initial third-party webhook security handshake Periodica…

---

## [Dynamics 365 CRM sync for contact doesn't work](https://community.hubspot.com/t/dynamics-365-crm-sync-for-contact-doesnt-work/52495)

<div class="topic-metadata">

**Author:** [@Matthias-ICB](https://community.hubspot.com/u/Matthias-ICB)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 12:22pm UTC](https://community.hubspot.com/t/dynamics-365-crm-sync-for-contact-doesnt-work/52495 "2022-03-03T12:22:27Z")

</div>

Hello everyone, we’re new in hubspot and tried to synchronize our contacts into hubspot. Sadly nothing happens.. We created a new boolean field “HubSpot-Synchronisation” in d365 and set it to true for the contacts we w…

---

## [Reminder: Data Sync Office Hour tomorrow!](https://community.hubspot.com/t/reminder-data-sync-office-hour-tomorrow/52352)

<div class="topic-metadata">

**Author:** [@jbogaert](https://community.hubspot.com/u/jbogaert)\
**Replies:** 0\
**Last updated:** [March 1, 2022, 2:13pm UTC](https://community.hubspot.com/t/reminder-data-sync-office-hour-tomorrow/52352 "2022-03-01T14:13:05Z")

</div>

Hi everyone! Tomorrow, we are holding another Data Sync office hour with Frans Leys. Sign up for free here During the Operations Hub Show & Tell last week, Frans Leys showed you the next object sync they are working o…

---

## [Custom Coded Automation Masterclass Resources](https://community.hubspot.com/t/custom-coded-automation-masterclass-resources/52267)

<div class="topic-metadata">

**Author:** [@jackcoldrick](https://community.hubspot.com/u/jackcoldrick)\
**Replies:** 2\
**Last updated:** [February 28, 2022, 10:55pm UTC](https://community.hubspot.com/t/custom-coded-automation-masterclass-resources/52267 "2022-02-28T22:55:34Z")

</div>

Hi everyone, I wanted to say a massive thank you to all of those who attended our four custom coded automation sessions throughout the month of February. The feedback received along with the level of engagement from tho…

---

## [Q&A Follow-up | Custom Automation Workshop on connecting to an external MySQL Database](https://community.hubspot.com/t/q-a-follow-up-custom-automation-workshop-on-connecting-to-an-external-mysql-database/52266)

<div class="topic-metadata">

**Author:** [@jackcoldrick](https://community.hubspot.com/u/jackcoldrick)\
**Replies:** 0\
**Last updated:** [February 28, 2022, 12:31pm UTC](https://community.hubspot.com/t/q-a-follow-up-custom-automation-workshop-on-connecting-to-an-external-mysql-database/52266 "2022-02-28T12:31:38Z")

</div>

Hi everyone, Thank you for attending our session last Thursday focusing on connecting and querying an external MySQL database using custom coded workflow actions, a feature exclusive to Operations Hub Professional. As p…

[Previous page](https://community.hubspot.com/c/data/data-hub/99.md?page=18)

[Next page](https://community.hubspot.com/c/data/data-hub/99.md?page=20)
