<?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: Create workflow actions for app in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964972#M73015</link>
    <description>&lt;P&gt;Thanks Zach, You save my day. It worked.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 04:35:26 GMT</pubDate>
    <dc:creator>neer</dc:creator>
    <dc:date>2024-04-23T04:35:26Z</dc:date>
    <item>
      <title>Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963475#M72919</link>
      <description>&lt;P&gt;I want to create a custom action for my application on hubspot marketplace.&amp;nbsp;&lt;BR /&gt;So that whenever a user installs my application, that action should be shown in their panel.&lt;/P&gt;&lt;P&gt;Example : If you install todoist application in your hubspot account you get an option to `Create a task in todoist` based on the trigger set.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="neer_0-1713533807664.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/115685iAB946F2941BA9345/image-size/medium?v=v2&amp;amp;px=400" role="button" title="neer_0-1713533807664.png" alt="neer_0-1713533807664.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can I do this for my application?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 13:37:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963475#M72919</guid>
      <dc:creator>neer</dc:creator>
      <dc:date>2024-04-19T13:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963589#M72931</link>
      <description>&lt;P&gt;Hi, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/748435"&gt;@neer&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to our community! Here's a link to the documentation — &lt;A href="https://developers.hubspot.com/docs/api/automation/custom-workflow-actions" target="_blank"&gt;Custom Workflow Actions&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun building! — Jaycee&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 15:56:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963589#M72931</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-04-19T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963606#M72933</link>
      <description>&lt;P&gt;I went through this document and made a POST request to the URL mentioned below. It returned a `201 created` response but I can't find this newly created action while creating workflow in hubspot.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;URL :&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.hubspot.com/automation/v4/actions/{appId}?hapikey={developer_API_key" target="_blank"&gt;https://api.hubspot.com/automation/v4/actions/{appId}?hapikey={developer_API_key&lt;/A&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "actionUrl": "https://example.com/hubspot",
  "inputFields": [
    {
      "typeDefinition": {
        "name": "widgetName",
        "type": "string",
        "fieldType": "text"
      },
      "supportedValueTypes": ["STATIC_VALUE"],
      "isRequired": true
    },
    {
      "typeDefinition": {
        "name": "widgetColor",
        "type": "enumeration",
        "fieldType": "select",
        "options": [
          { "value": "red", "label": "Red" },
          { "value": "blue", "label": "Blue" },
          { "value": "green", "label": "Green" }
        ]
      },
      "supportedValueTypes": ["STATIC_VALUE"]
    },
    {
      "typeDefinition": {
        "name": "widgetOwner",
        "type": "enumeration",
        "referencedObjectType": "OWNER"
      },
      "supportedValueTypes": ["STATIC_VALUE"]
    },
    {
      "typeDefinition": {
        "name": "widgetQuantity",
        "type": "number"
      },
      "supportedValueTypes": ["OBJECT_PROPERTY"]
    }
  ],
  "labels": {
    "en": {
      "actionName": "Create Widget - Example 1",
      "actionDescription": "This action will create a new widget in our system. So cool!",
      "actionCardContent": "Create widget {{widgetName}}",
      "inputFieldLabels": {
        "widgetName": "Widget Name",
        "widgetColor": "Widget Color",
        "widgetOwner": "Widget Owner",
        "widgetQuantity": "Widget Quantity"
      },
      "inputFieldDescriptions": {
        "widgetName": "Enter the full widget name. I support &amp;lt;a href=\"https://hubspot.com\"&amp;gt;links&amp;lt;/a&amp;gt; too.",
        "widgetColor": "This is the color that will be used to paint the widget."
      }
    }
  },
  "objectTypes": ["CONTACT", "DEAL"]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 16:15:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963606#M72933</guid>
      <dc:creator>neer</dc:creator>
      <dc:date>2024-04-19T16:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963848#M72947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/748435"&gt;@neer&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;In my experience working with these custom workflow action endpoints, it can take some time (often 5+ minutes) to see the updates you're making via API be reflected in HubSpot's UI. Unfortunately, patience is key with these endpoints -- I recommend making a cup of tea in between calls&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&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>Sat, 20 Apr 2024 01:52:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/963848#M72947</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2024-04-20T01:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964254#M72971</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for the reply. Its been 2 days since I created my custom workflow action but its not yet visible in my workflow creation panel.&lt;BR /&gt;My app is not published. I am trying this out with a test account and developer account app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 03:56:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964254#M72971</guid>
      <dc:creator>neer</dc:creator>
      <dc:date>2024-04-22T03:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964267#M72972</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/748435"&gt;@neer&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 recommend updating your workflow action as "published". For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PATCH&amp;nbsp;&lt;/STRONG&gt;/automation/v4/actions/:APP_ID/:WORKFLOW_ACTION_ID?hapikey={{&lt;SPAN class="" data-testid="resolvedVariable"&gt;DEVELOPER_API_KEY}}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="" data-testid="resolvedVariable"&gt;Request body&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{ "actionUrl": "https://my.service/abc", "published": true, "objectTypes": [ "CONTACT", "TICKET" ], "objectRequestOptions": { ... }, "inputFields": [ ... ], "outputFields": [ ... ], "labels": { ... } } &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Despite &lt;A href="https://developers.hubspot.com/docs/api/automation/custom-workflow-actions" target="_blank" rel="noopener"&gt;HubSpot documentation&lt;/A&gt; suggesting that &lt;EM&gt;"unpublished custom actions are only visible in the developer portal associated with the corresponding HubSpot application"&lt;/EM&gt;, I've had no luck in the past testing with "unpublished" workflow actions either in my Developer Portal or its associated Test Accounts. As far as I'm aware, there's no "workflows" feature available in HubSpot Developer portals, so the documentation is a little misleading. I've been meaning to reach out to someone at HubSpot about this for a while, so it'd be great to get some feedback from&amp;nbsp;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 04:52:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964267#M72972</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2024-04-23T04:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create workflow actions for app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964972#M73015</link>
      <description>&lt;P&gt;Thanks Zach, You save my day. It worked.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 04:35:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-workflow-actions-for-app/m-p/964972#M73015</guid>
      <dc:creator>neer</dc:creator>
      <dc:date>2024-04-23T04:35:26Z</dc:date>
    </item>
  </channel>
</rss>

