<?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: Custom Card Integration in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1078231#M78718</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/678207" target="_blank"&gt;@Ashwinj&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":waving_hand:"&gt;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;To add an "Add Attachment" option within a HubSpot UI extension card, you can perhaps include file upload functionality using HubSpot's Files API and link the uploaded files to specific CRM records via the Engagements API. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;A potential solution would be :&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Step 1: Upload the File Using the Files API&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Use the &lt;A href="https://developers.hubspot.com/beta-docs/guides/api/library/files" target="_blank" rel="noopener"&gt;Files API&lt;/A&gt; to upload the file to HubSpot's file manager.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Once uploaded, the API will return a unique file ID for the file.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Step 2: Create an Engagement and Link the File&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Use the &lt;A href="https://developers.hubspot.com/beta-docs/guides/api/crm/engagements/engagement-details" target="_blank" rel="noopener"&gt;Engagements API&lt;/A&gt; to create a new engagement (such as a note) and attach the file by referencing its file ID.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Link this engagement to the relevant CRM record (e.g., contact, company, or deal) to ensure the attachment is displayed in the correct location.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I hope this helps !&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Danielle&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 12:10:42 GMT</pubDate>
    <dc:creator>Danielle_J</dc:creator>
    <dc:date>2024-12-03T12:10:42Z</dc:date>
    <item>
      <title>Custom Card Integration</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1077173#M78667</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can we give an add attachment&amp;nbsp; option in the card anyone have any suggestion please let me know. can anybody have the same issue please let me know.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Thank you in advance for your help and support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (1).png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/132827iAB5873E45C466C36/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (1).png" alt="image (1).png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 20:15:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1077173#M78667</guid>
      <dc:creator>Ashwinj</dc:creator>
      <dc:date>2024-11-30T20:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Card Integration</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1077823#M78700</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/678207"&gt;@Ashwinj&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the interesting question. I'd like to invite some of our community champions who have related experience to the conversation — hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475"&gt;@coldrickjack&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/673740"&gt;@Danielle_J&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;do you have any thoughts on workarounds for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/678207"&gt;@Ashwinj&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for taking a look! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 18:44:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1077823#M78700</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-12-02T18:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Card Integration</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1078080#M78713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/678207"&gt;@Ashwinj&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think there'll be an easy way for you to offer this kind of functionality using HubSpot's UI Extensions feature. You're more or less limited to the components outlined by HubSpot &lt;A href="https://developers.hubspot.com/beta-docs/reference/ui-components/overview" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. One option you might like to consider:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use the "Input" component to allow users to submit a URL where the existing document is located.&lt;/LI&gt;
&lt;LI&gt;In your app's backend, upload the file to HubSpot via API (see the "Import a file from a URL into the file manager" endpoint within &lt;A href="https://developers.hubspot.com/beta-docs/reference/api/library/files#post-%2Ffiles%2Fv3%2Ffiles%2Fimport-from-url%2Fasync" target="_blank" rel="noopener"&gt;this documentation&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;Set the given File as an attachment (&lt;A href="https://developers.hubspot.com/beta-docs/guides/api/crm/engagements/notes" target="_blank" rel="noopener"&gt;via the creation of a Note&lt;/A&gt; with the 'hs_attachment_ids' property populated&amp;nbsp; + association with the given record)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Obviously this solution would only work if the file(s) are already available online. I don't think there's currently a way to offer this kind of feature via UI Extensions for files stored locally on the user's device (though I could be wrong &lt;span class="lia-unicode-emoji" title=":crossed_fingers:"&gt;🤞&lt;/span&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this proves helpful. Please let me know if you have any follow-up questions.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 06:01:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1078080#M78713</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2024-12-03T06:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Card Integration</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1078231#M78718</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/678207" target="_blank"&gt;@Ashwinj&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":waving_hand:"&gt;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;To add an "Add Attachment" option within a HubSpot UI extension card, you can perhaps include file upload functionality using HubSpot's Files API and link the uploaded files to specific CRM records via the Engagements API. &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;A potential solution would be :&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Step 1: Upload the File Using the Files API&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Use the &lt;A href="https://developers.hubspot.com/beta-docs/guides/api/library/files" target="_blank" rel="noopener"&gt;Files API&lt;/A&gt; to upload the file to HubSpot's file manager.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Once uploaded, the API will return a unique file ID for the file.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Step 2: Create an Engagement and Link the File&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Use the &lt;A href="https://developers.hubspot.com/beta-docs/guides/api/crm/engagements/engagement-details" target="_blank" rel="noopener"&gt;Engagements API&lt;/A&gt; to create a new engagement (such as a note) and attach the file by referencing its file ID.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Link this engagement to the relevant CRM record (e.g., contact, company, or deal) to ensure the attachment is displayed in the correct location.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I hope this helps !&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Danielle&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 12:10:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Card-Integration/m-p/1078231#M78718</guid>
      <dc:creator>Danielle_J</dc:creator>
      <dc:date>2024-12-03T12:10:42Z</dc:date>
    </item>
  </channel>
</rss>

