<?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 Code -  Make a form submission create a ticket and associate that ticket with a deal in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/810411#M1595</link>
    <description>&lt;P&gt;Thank you. I realized that the issue I was facing was that I couldn't do the put request through hubspotClient. I had to use Axios. It works now. I just wish I could pull the secret through hubspotClient without messing up Axios. That's still something for me to work on...&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 18:25:48 GMT</pubDate>
    <dc:creator>ah8</dc:creator>
    <dc:date>2023-06-21T18:25:48Z</dc:date>
    <item>
      <title>Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799089#M1544</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I wasn't actually sure where to put this. I am new to HubSpot. I am trying to use workflows to make a form submission create a ticket and associate that ticket with a deal. Advice on getting started would be greatly appreciated. I think it may take a custom code action, but what objects to use, etc, I don't really know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 12:51:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799089#M1544</guid>
      <dc:creator>ah8</dc:creator>
      <dc:date>2023-05-26T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799593#M1545</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/552344"&gt;@ah8&lt;/a&gt;&amp;nbsp;happy Friday!&lt;/P&gt;
&lt;P&gt;I want to invite our top experts to this conversation to share their thoughts&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/249367"&gt;@CMcKay&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/432365"&gt;@FNeri&lt;/a&gt;&amp;nbsp;any recommendations to&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/552344"&gt;@ah8&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Pam&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:00:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799593#M1545</guid>
      <dc:creator>PamCotton</dc:creator>
      <dc:date>2023-05-26T16:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799602#M1547</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/552344"&gt;@ah8&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an interesting idea, so a couple of questions for you:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. What type of form is this? What does it do?&lt;/P&gt;&lt;P&gt;2. How do you want to associate the Deal? Does the form as for a deal ID?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I ask these things is because if the form is a ticket form it will already create a ticket for you and bonus if you have a field on the ticket form that's the deal object record id property you can pretty easily create that in a new ticket workflow and just associate the deal with the ticket in a super simple custom code (which I can give you with a loom).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Let me know.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:17:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799602#M1547</guid>
      <dc:creator>CMcKay</dc:creator>
      <dc:date>2023-05-26T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799603#M1548</link>
      <description>&lt;P&gt;Thanks for the invite Pam!&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:17:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/799603#M1548</guid>
      <dc:creator>CMcKay</dc:creator>
      <dc:date>2023-05-26T16:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/800779#M1549</link>
      <description>&lt;P&gt;This form creates a ticket for our customers. We will need a custom ticket property to add to it when the ticket is generated. Ultimately, though, the purpose is to associate the ticket with the deal that is tracking the user.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 20:46:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/800779#M1549</guid>
      <dc:creator>ah8</dc:creator>
      <dc:date>2023-05-30T20:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/808622#M1584</link>
      <description>&lt;P&gt;To echo CMcKay, there are a lot of moving pieces when it comes to giving advice for building out workflows that are going to be managing an association in your system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simplest version of this would be that you have either the Deal Id on the form as a mandatory field (unlikely, given that users shouldn't have their own Deal Id for any reason) or some kind of other unique identifier for the deal. In this case, you could make a workflow that triggers whenever a new ticket is created, and associate the ticket to the deal directly using the Deal Id, or by searching for the Deal using the API and then associating them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alas, that's almost never the case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming that your tickets are already being associated to contacts, more likely, you're going to want to create a ticket property that counts the number of associated contacts (calculated property). Then you create a ticket workflow that is triggered when the number of associated contacts is more than one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the Associations API, grab all associated contacts. If there's a way to differentiate which is the most relevant contact, loop through them for that, otherwise I'd take the oldest one by default. Then use the Associations API to get all of &lt;EM&gt;that contact's&lt;/EM&gt; associated deals, and filter through the deals with whatever criteria you're using to determine the most relevant deal. Finally, use the Associations API to associate the ticket with the deal.&lt;BR /&gt;&lt;BR /&gt;This is a highly intensive process, requiring minimum 3 API calls per run, and potentially multiple Custom Code Actions to execute.&lt;BR /&gt;&lt;BR /&gt;As &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/249367"&gt;@CMcKay&lt;/a&gt; said, if you can be more specific about exactly the process you want here (how are you determining which deal is the right one) we can likely give more detail! Also, if your tickets aren't being automatically associated to contacts, then you'd need to do another step in searching for the contact via the email address on the ticket.&lt;/P&gt;&lt;P&gt;Hope this is at least somewhat helpful!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 20:08:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/808622#M1584</guid>
      <dc:creator>ArdenM</dc:creator>
      <dc:date>2023-06-16T20:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809207#M1585</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/249367"&gt;@CMcKay&lt;/a&gt;&amp;nbsp;&amp;nbsp;Yes, that is exactly it. The dealID will be a hidden object in the form. Each form is sent with a custom link via email so that we ensure it will be the correct one. I am just working on the custom code action now. I would greatly appreciate the code in the loom you offered.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 18:12:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809207#M1585</guid>
      <dc:creator>ah8</dc:creator>
      <dc:date>2023-06-19T18:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809644#M1588</link>
      <description>&lt;P&gt;I tried the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const hubspot = require('@hubspot/api-client');
const hubspotClient = new hubspot.Client({ accessToken: "access token" });

exports.main = async (event, callback) =&amp;gt; {


  const BatchInputPublicAssociationMultiPost = { inputs: [{"_from":{"id":"hs_ticket_id"},"to":{"id":"hs_object_id"},"types":[{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":28}]}] };
  const fromObjectType = "ticket";
  const toObjectType = "deal";

  try {
    const apiResponse = await hubspotClient.crm.associations.batchApi.create(fromObjectType, toObjectType, BatchInputPublicAssociationMultiPost);
    console.log(JSON.stringify(apiResponse, null, 2));
    callback(null, apiResponse);
  } catch (e) {
    e.message === 'HTTP request failed'
      ? console.error(JSON.stringify(e.response, null, 2))
      : console.error(e)
  }
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I received this error:&lt;/P&gt;&lt;PRE&gt;WARNING: The logs for this function have exceeded the 4KB limit.
...
ccurred.
Body: {"status":"error","message":"Invalid input JSON on line 1, column 65. Some required fields were not set: [type]","correlationId":"ee5746e3-451a-4f71-8a0b-597fabe647d8","category":"VALIDATION_ERROR"}
Headers: {"access-control-allow-credentials":"false","alt-svc":"h3=\":443\"; ma=86400","cf-cache-status":"DYNAMIC","cf-ray":"7da4d3faeb118260-IAD","connection":"close","content-length":"198","content-type":"application/json;charset=utf-8","date":"Tue, 20 Jun 2023 14:51:07 GMT","nel":"{\"success_fraction\":0.01,\"report_to\":\"cf-nel\",\"max_age\":604800}","report-to":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2Bs0rt2rOl%2BQFKoBgCxB%2Fji6o6VVcd0TIMZ2sgkYtegT6Gg8C73DTWT2puW6iAehMWvOvSmwSUzhu4CqRen82Ilc%2BgEX%2B8ShF48a9zMGYoeVVZIyfGt4zL43VBmyxjpRv\"}],\"group\":\"cf-nel\",\"max_age\":604800}","server":"cloudflare","strict-transport-security":"max-age=31536000; includeSubDomains; preload","vary":"origin, Accept-Encoding","x-envoy-upstream-service-time":"16","x-evy-trace-listener":"listener_https","x-evy-trace-route-configuration":"listener_https/all","x-evy-trace-route-service-name":"envoyset-translator","x-evy-trace-served-by-pod":"iad02/hubapi-td/envoy-proxy-598c95b5b7-vk5c8","x-evy-trace-virtual-host":"all","x-hubspot-correlation-id":"ee5746e3-451a-4f71-8a0b-597fabe647d8","x-hubspot-ratelimit-daily":"500000","x-hubspot-ratelimit-daily-remaining":"499998","x-hubspot-ratelimit-interval-milliseconds":"10000","x-hubspot-ratelimit-max":"150","x-hubspot-ratelimit-remaining":"149","x-hubspot-ratelimit-secondly":"15","x-hubspot-ratelimit-secondly-remaining":"14","x-request-id":"3698e3b1-7651-46d3-9d8f-e664e6440333"}
    at BatchApiResponseProcessor.&amp;lt;anonymous&amp;gt; (/opt/nodejs/node_modules/@hubspot/api-client/lib/codegen/crm/associations/apis/BatchApi.js:172:23)
    at Generator.next (&amp;lt;anonymous&amp;gt;)
    at fulfilled (/opt/nodejs/node_modules/@hubspot/api-client/lib/codegen/crm/associations/apis/BatchApi.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 400,
  body: {
    status: 'error',
    message: 'Invalid input JSON on line 1, column 65. Some required fields were not set: [type]',
    correlationId: 'ee5746e3-451a-4f71-8a0b-597fabe647d8',
    category: 'VALIDATION_ERROR'
  },
  headers: {
    'access-control-allow-credentials': 'false',
    'alt-svc': 'h3=":443"; ma=86400',
    'cf-cache-status': 'DYNAMIC',
    'cf-ray': '7da4d3faeb118260-IAD',
    connection: 'close',
    'content-length': '198',
    'content-type': 'application/json;charset=utf-8',
    date: 'Tue, 20 Jun 2023 14:51:07 GMT',
    nel: '{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}',
    'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2Bs0rt2rOl%2BQFKoBgCxB%2Fji6o6VVcd0TIMZ2sgkYtegT6Gg8C73DTWT2puW6iAehMWvOvSmwSUzhu4CqRen82Ilc%2BgEX%2B8ShF48a9zMGYoeVVZIyfGt4zL43VBmyxjpRv"}],"group":"cf-nel","max_age":604800}',
    server: 'cloudflare',
    'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
    vary: 'origin, Accept-Encoding',
    'x-envoy-upstream-service-time': '16',
    'x-evy-trace-listener': 'listener_https',
    'x-evy-trace-route-configuration': 'listener_https/all',
    'x-evy-trace-route-service-name': 'envoyset-translator',
    'x-evy-trace-served-by-pod': 'iad02/hubapi-td/envoy-proxy-598c95b5b7-vk5c8',
    'x-evy-trace-virtual-host': 'all',
    'x-hubspot-correlation-id': 'ee5746e3-451a-4f71-8a0b-597fabe647d8',
    'x-hubspot-ratelimit-daily': '500000',
    'x-hubspot-ratelimit-daily-remaining': '499998',
    'x-hubspot-ratelimit-interval-milliseconds': '10000',
    'x-hubspot-ratelimit-max': '150',
    'x-hubspot-ratelimit-remaining': '149',
    'x-hubspot-ratelimit-secondly': '15',
    'x-hubspot-ratelimit-secondly-remaining': '14',
    'x-request-id': '3698e3b1-7651-46d3-9d8f-e664e6440333'
  }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I'm not quite sure what I'm doing wrong. The code would be extremely helpful when you do have the time.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 14:59:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809644#M1588</guid>
      <dc:creator>ah8</dc:creator>
      <dc:date>2023-06-20T14:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809769#M1592</link>
      <description>&lt;P&gt;Not sure if this is just an artifact of the way you've shared the code, but it doesn't look like you're actually passing your id properties into the custom code action. You'd need to define them as inputs, and then use this code to make them available:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const hs_object_id = event.inputFields['hs_object_id'];
const hs_ticket_id = event.inputFields['hs_ticket_id'];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Once you've done that at the start of your function, you'd want to change the strings you're currently passing so that they're actually variables.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const BatchInputPublicAssociationMultiPost = { inputs: [{"_from":{"id":"hs_ticket_id"},"to":{"id":"hs_object_id"},"types":[{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":28}]}] };

const BatchInputPublicAssociationMultiPost = { inputs: [{"_from":{"id":hs_ticket_id},"to":{"id":hs_object_id},"types":[{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":28}]}] };&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also not sure what your input variables would actually be, as it's not clear which variable you're storing your dealId in.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 17:59:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809769#M1592</guid>
      <dc:creator>ArdenM</dc:creator>
      <dc:date>2023-06-20T17:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809801#M1593</link>
      <description>&lt;P&gt;Thank you.&lt;BR /&gt;I was using actual values to test for it so I stuck in variable names to ask about it. It reads more like this now:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const hubspot = require('@hubspot/api-client');



exports.main = (event, callback) =&amp;gt; {
  return callback(processEvent(event));
};


async function processEvent(event) {
  const hubspotClient = new hubspot.Client({
    accessToken: process.env.private_app,
    numberOfApiCallRetries: 3,
  });
  
  const objectID = event.inputFields['hs_object_id'];
  const ticketID = event.inputFields['hs_ticket_id'];

  const BatchInputPublicDefaultAssociationMultiPost = { inputs: [{"_from":{"id":ticketID},"to":{"id":objectID}}] };
  const fromObjectType = "tickets";
  const toObjectType = "deals";

    try {
      const apiResponse = await hubspotClient.crm.associations.batch.read.batchApi.createDefault(fromObjectType, toObjectType, BatchInputPublicDefaultAssociationMultiPost);
      console.log(JSON.stringify(apiResponse, null, 2));
      /*callback(null, apiResponse);*/
    } catch (e) {
      e.message === 'HTTP request failed'
        ? console.error(JSON.stringify(e.response, null, 2))
        : console.error(e)
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that the issue I am having stems from the path I am dealing with...&lt;BR /&gt;My error says:&lt;/P&gt;&lt;PRE&gt;ERROR	TypeError: Cannot read properties of undefined (reading 'read')
    at processEvent (/var/task/file.js:25:70)
    at Object.exports.main (/var/task/file.js:7:19)
    at Runtime.exports.hubspot_handler [as handler] (/var/task/hubspotHandler.js:6:21)
    at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1086:29)&lt;/PRE&gt;&lt;P&gt;I think it is an issue here:&lt;BR /&gt;&amp;nbsp;"hubspotClient.crm.associations.batch.&lt;STRONG&gt;read&lt;/STRONG&gt;.batchApi.createDefault"&lt;BR /&gt;However, I am not sure how to fix this...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 19:14:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809801#M1593</guid>
      <dc:creator>ah8</dc:creator>
      <dc:date>2023-06-20T19:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809842#M1594</link>
      <description>&lt;P&gt;Can you try it again, but change "tickets" and "deals" back to "ticket" and "deal"? You had it like that originally, and I think that's correct. At very least you should get a different error.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 20:53:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/809842#M1594</guid>
      <dc:creator>ArdenM</dc:creator>
      <dc:date>2023-06-20T20:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/810411#M1595</link>
      <description>&lt;P&gt;Thank you. I realized that the issue I was facing was that I couldn't do the put request through hubspotClient. I had to use Axios. It works now. I just wish I could pull the secret through hubspotClient without messing up Axios. That's still something for me to work on...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 18:25:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/810411#M1595</guid>
      <dc:creator>ah8</dc:creator>
      <dc:date>2023-06-21T18:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Code -  Make a form submission create a ticket and associate that ticket with a deal</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/877977#M1893</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello 🙋🏼‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have ever struggled with manually adding line items to deal, say hello to the &lt;/SPAN&gt;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/productivity/workflow-automation/deal-lineitem-workflow-1713166" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Add Line Item to Deal&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; app we have released!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Key Features:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Dynamically include a line item in an already existing deal;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Capability to insert the following fields: SKU of the product to add, product’s quantity, line item price, currency list (USD, EUR, GBP, etc.).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Install the App: Head to the &lt;/SPAN&gt;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/productivity/workflow-automation/future-date-calculator-1828077" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;HubSpot Marketplace&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;, install the Add Line Item to Deal app, and get started for free.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Say goodbye to manually adding line items to deals.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try the &lt;/SPAN&gt;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/productivity/workflow-automation/deal-lineitem-workflow-1713166" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Add Line Item to Deal&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; today and elevate your HubSpot workflow game!&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="191px"&gt;&lt;SPAN class=""&gt;&lt;!--   ADD IN SRC YOUR IMAGE URL   --&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1589805894166.jpeg" style="width: 180px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/94064i84E7F043BAADB107/image-dimensions/180x180?v=v2" width="180" height="180" role="button" title="1589805894166.jpeg" alt="1589805894166.jpeg" /&gt;&lt;/span&gt;&lt;!--      --&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="189.336px"&gt;&lt;H3&gt;&lt;!--   YOUR NAME   --&gt;Alessio&amp;nbsp;Mammarella&lt;/H3&gt;&lt;P class=""&gt;&lt;!--   YOUR ROLE   --&gt;HubSpot Specialist&lt;/P&gt;&lt;P class=""&gt;Exelab&lt;/P&gt;&lt;!--   align center the images in this table , add in style=&amp;amp;quot;text-align:center&amp;amp;quot;   --&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="80"&gt;&lt;IMG src="https://www.exelab.com/hubfs/raw_assets/public/hs_exelab/images/Diamond-HS%202.png" border="0" alt="hs diamond" width="60" /&gt;&lt;/TD&gt;&lt;TD width="80"&gt;&lt;IMG src="https://www.exelab.com/hubfs/raw_assets/public/hs_exelab/images/logo-exelab-black-mobile.svg" border="0" alt="exelab logo" width="50" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD width="41px"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD width="40px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="41px"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD width="266.164px"&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="30"&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;IMG src="https://3963388.fs1.hubspotusercontent-na1.net/hubfs/3963388/feature%20images/phone-call-1.png" border="0" width="20" /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A target="_blank"&gt;333-6580788&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="30"&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN class=""&gt;&lt;IMG src="https://3963388.fs1.hubspotusercontent-na1.net/hubfs/3963388/feature%20images/email.png" border="0" width="20" /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;!--   your email after mailto:   --&gt;&lt;TD&gt;&lt;A href="mailto:mail@mail.it" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;!--   your email   --&gt;alessio.mammarella@exelab.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="30"&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN class=""&gt;&lt;IMG src="https://3963388.fs1.hubspotusercontent-na1.net/hubfs/3963388/feature%20images/web.png" border="0" width="20" /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A class="" href="https://exelab.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;exelab.com&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;!--   A table with 2 images in the same row with some space in top   --&gt;&lt;/DIV&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 15:14:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Custom-Code-Make-a-form-submission-create-a-ticket-and-associate/m-p/877977#M1893</guid>
      <dc:creator>AMammarella</dc:creator>
      <dc:date>2023-11-10T15:14:13Z</dc:date>
    </item>
  </channel>
</rss>

