<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Building an API between HubSpot and an app in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/914789#M70742</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we're currently working on a case for a software company, whereby we want to build an API between HubSpot and the customer's app. The app is built in React Native. The API should enable a bi-directional transfer of data between HubSpot and the app. For example if a user is inactive for two weeks, they should receive a new property that takes note of this.&amp;nbsp;Let's also say that if a user is inactive for a certain period of time, this user should be added to a HubSpot list and sent an e-mail and/or a push notification. This means that the data must be constantly updated between the app and HubSpot. According to our research, it should be possible to build such a workflow in tools such as Zapier or Make.com. But we'd like to find out how you guys would go about this!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Looking forward to the discussion!&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 15:26:15 GMT</pubDate>
    <dc:creator>Marvin_Morgan24</dc:creator>
    <dc:date>2024-01-31T15:26:15Z</dc:date>
    <item>
      <title>Building an API between HubSpot and an app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/914789#M70742</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we're currently working on a case for a software company, whereby we want to build an API between HubSpot and the customer's app. The app is built in React Native. The API should enable a bi-directional transfer of data between HubSpot and the app. For example if a user is inactive for two weeks, they should receive a new property that takes note of this.&amp;nbsp;Let's also say that if a user is inactive for a certain period of time, this user should be added to a HubSpot list and sent an e-mail and/or a push notification. This means that the data must be constantly updated between the app and HubSpot. According to our research, it should be possible to build such a workflow in tools such as Zapier or Make.com. But we'd like to find out how you guys would go about this!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Looking forward to the discussion!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:26:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/914789#M70742</guid>
      <dc:creator>Marvin_Morgan24</dc:creator>
      <dc:date>2024-01-31T15:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Building an API between HubSpot and an app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/915665#M70780</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/670307"&gt;@Marvin_Morgan24&lt;/a&gt;&amp;nbsp; What database is the React Native app using to store/manage data? Depending on the database (ie NoSQL, SQLite, and many others) a custom web application could be built that would manage the syncing and transformation of the data, and potentially monitor the app database for property changes that would trigger the actions you mentioned.&amp;nbsp; There are also third party middleware tools that can handle the syncing and transformation of the data. Scoping would need to be done to identify functional requirements and determime the most cost-effective solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 19:45:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/915665#M70780</guid>
      <dc:creator>johnelmer</dc:creator>
      <dc:date>2024-02-01T19:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Building an API between HubSpot and an app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/915677#M70781</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/670307"&gt;@Marvin_Morgan24&lt;/a&gt;&amp;nbsp;I checked with one of the leading devs with APIs and React cards for HubSpot (thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;) and as&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/10166"&gt;@johnelmer&lt;/a&gt;&amp;nbsp;mentioned there are a lot of questions that have to be answered before you can find the right solution:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;It really depends if they have access to the source code of the backend of the 'app'&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;If they do have access, I would extend that functionality and handle the polling there&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Could be some basic CRON Jobs that check the data from the 'app' and based on that make updates in HS&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;what is the app architecture like?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Is it a NodeJS backend with GraphQL? Or maybe Laravel with SQL?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Does the app has its own API?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;And here's the TLDR;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Stay away from Zapier. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A simple script that checks the data from the app (if it has an API) every night to see if an user has been inactive for over two weeks should be enough.If the user has been inactive for two weeks or longer, update the property in HubSpot (use email as the unique identifier).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;You can use that same property to add that HS contact on a list if you use an active list.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 20:07:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Building-an-API-between-HubSpot-and-an-app/m-p/915677#M70781</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2024-02-01T20:07:36Z</dc:date>
    </item>
  </channel>
</rss>

