# Help Pushing Sales Data into Hubspot

**URL:** <https://community.hubspot.com/t/help-pushing-sales-data-into-hubspot/87443>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [August 14, 2023, 6:44pm UTC](https://community.hubspot.com/t/help-pushing-sales-data-into-hubspot/87443 "2023-08-14T18:44:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashleypaceRSF](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@ashleypaceRSF](https://community.hubspot.com/u/ashleypaceRSF)\
**Post date:** [August 14, 2023, 6:44pm UTC](https://community.hubspot.com/t/help-pushing-sales-data-into-hubspot/87443/1 "2023-08-14T18:44:30Z")

</div>

We have the need to push sales data from our data warehouse (Snowflake) into a custom object or objects in Hubspot. The data we’re going to push in is: company ID, date, sales amount, sales count or something similar just to give an example.

Has anyone done this successfully using the Hubspot API? Does anyone have any example code, as I am not a Python developer.

Note: we will want the write to Hubspot to be a create and update since we’ll be pushing overlapping data every day.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 15, 2023, 9:58pm UTC](https://community.hubspot.com/t/help-pushing-sales-data-into-hubspot/87443/2 "2023-08-15T21:58:30Z")

</div>

Hi, @ashleypaceRSF 👋 Welcome to our community!

I have a few questions and suggestions to help you get started and to help the community help you effectively.

Suggestions:

- create an [App Developer account](https://developers.hubspot.com/docs/api/account-types#app-developer-accounts) \> create a Developer Test account from there to have a place to test safely
- use the on-page endpoint examples ([Deal API endpoints](https://developers.hubspot.com/docs/api/crm/deals) for example) and Postman to familiarize yourself with our APIs
- map out and define the [default HubSpot Objects](https://developers.hubspot.com/docs/api/crm/understanding-the-crm#:~:text=and%20additional%20functionalities.-,Objects,-The%20CRM%20API) you will be using — Companies, Deals, Tickets, etc
- use the [Properties API](https://developers.hubspot.com/docs/api/crm/properties) to get the default properties and their internal values for each object
- define where you’ll execute your Python scripts. Are you going to use a server, AWS, or some other form of Middleware?

Questions:

- for the Objects you’ll use, are there batch endpoints you can utilize? This can help with call limits and [rate-limiting](https://developers.hubspot.com/docs/api/usage-details#rate-limits) considerations. For example, the Deals API offers batch endpoints like this one:  
`POST /crm/v3/objects/deals/batch/update​`
- have you built a custom app with HubSpot before? If not, do you have access to technical resources?
- if not, have you looked into a 3rd party solution like Zapier or Make to handle the API calls?

While our community may not have custom code examples to share, you can share what you’re working on — a simple example request and its response, for example.

This is not meant to discourage you. I want everyone to be successful in our community. Even if we don’t have the full answer, we love to help brainstorm and talk build cool things with HubSpot 🧡

Thanks for the additional information! — Jaycee

---

<div class="post-metadata">

**Author:** ![ashleypaceRSF](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@ashleypaceRSF](https://community.hubspot.com/u/ashleypaceRSF)\
**Post date:** [August 16, 2023, 5:24pm UTC](https://community.hubspot.com/t/help-pushing-sales-data-into-hubspot/87443/3 "2023-08-16T17:24:34Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) thank you for the response. Let me expound upon what we’re trying to accomplish and answer your questions.

We have the need to push sales data into Hubspot for our sales team so they can see the fruits of their labor.

What we want to do is to create an object in Hubspot that probably looks similar to this:

- Company ID
- Date
- Qty Shipped
- Shipping Revenue
- Storage Revenue
- Receiving Revenue
- Fullfillment Revenue

The data will be summarized likely by week or month and we’ll be adding new rows to the object with that frequency.

Now to try and answer your questions:

- define where you’ll execute your Python scripts. Are you going to use a server, AWS, or some other form of Middleware? **We will be running Airflow DAGs**
- for the Objects you’ll use, are there batch endpoints you can utilize? **I doubt it since we will be targeting a brand new object?**
- have you built a custom app with HubSpot before? If not, do you have access to technical resources? **Would what I’m describing be considered a custom app? And no I have not and I am the technical resource**
- if not, have you looked into a 3rd party solution like Zapier or Make to handle the API calls? **Yes, I’ve looked at Zapier. I think it would make things much easier on me and less to maintain going forward. I wasn’t sure about targeting a custom object though via Zapier.**

Thank you in advance! I hope what I’ve explained makes sense.
