<?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 Re: Insert Data in HubDB Table using  Serverless Function in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Insert-Data-in-HubDB-Table-using-Serverless-Function/m-p/748229#M32576</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/181997"&gt;@Priyanka178&lt;/a&gt;&amp;nbsp;, have you written any code to show us how far have you come?&lt;BR /&gt;&lt;BR /&gt;If this is your starting point I assume you did create a serverless function like instructed by the official hubspot documentation: &lt;A href="https://developers.hubspot.com/docs/cms/data/serverless-functions/reference" target="_blank" rel="noopener"&gt;Serverless functions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have set up the serverless function you should have by now found out that you can do some API calling inside it. So you should have set up a private app key, &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;like instructed in this document&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now you are ready to make some API calls, so using the HubDB API endpoints you can do all sorts of manipulations on you table, like adding a row in the table using the [POST]&amp;nbsp;&lt;CODE&gt;/cms/v3/hubdb/tables/{tableIdOrName}/rows&lt;/CODE&gt; endpoint like shown on the API reference page, &lt;A href="https://developers.hubspot.com/docs/api/cms/hubdb#tab-2" target="_blank" rel="noopener"&gt;here in this link&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information gets you started, don't forget to post your progress and code in order to help the commutity assist you better.&lt;BR /&gt;&lt;BR /&gt;If you need any further help don't hesitate to write here.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;If my answer was helpful, please mark it as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2023 19:13:41 GMT</pubDate>
    <dc:creator>miljkovicmisa</dc:creator>
    <dc:date>2023-01-27T19:13:41Z</dc:date>
    <item>
      <title>Insert Data in HubDB Table using  Serverless Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Insert-Data-in-HubDB-Table-using-Serverless-Function/m-p/747992#M32562</link>
      <description>&lt;P&gt;How to insert record in hubdb table using serverless function&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 12:48:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Insert-Data-in-HubDB-Table-using-Serverless-Function/m-p/747992#M32562</guid>
      <dc:creator>Priyanka178</dc:creator>
      <dc:date>2023-01-27T12:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Data in HubDB Table using  Serverless Function</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Insert-Data-in-HubDB-Table-using-Serverless-Function/m-p/748229#M32576</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/181997"&gt;@Priyanka178&lt;/a&gt;&amp;nbsp;, have you written any code to show us how far have you come?&lt;BR /&gt;&lt;BR /&gt;If this is your starting point I assume you did create a serverless function like instructed by the official hubspot documentation: &lt;A href="https://developers.hubspot.com/docs/cms/data/serverless-functions/reference" target="_blank" rel="noopener"&gt;Serverless functions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have set up the serverless function you should have by now found out that you can do some API calling inside it. So you should have set up a private app key, &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;like instructed in this document&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now you are ready to make some API calls, so using the HubDB API endpoints you can do all sorts of manipulations on you table, like adding a row in the table using the [POST]&amp;nbsp;&lt;CODE&gt;/cms/v3/hubdb/tables/{tableIdOrName}/rows&lt;/CODE&gt; endpoint like shown on the API reference page, &lt;A href="https://developers.hubspot.com/docs/api/cms/hubdb#tab-2" target="_blank" rel="noopener"&gt;here in this link&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information gets you started, don't forget to post your progress and code in order to help the commutity assist you better.&lt;BR /&gt;&lt;BR /&gt;If you need any further help don't hesitate to write here.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;If my answer was helpful, please mark it as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 19:13:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Insert-Data-in-HubDB-Table-using-Serverless-Function/m-p/748229#M32576</guid>
      <dc:creator>miljkovicmisa</dc:creator>
      <dc:date>2023-01-27T19:13:41Z</dc:date>
    </item>
  </channel>
</rss>

