We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
May 17, 2019 11:59 AM
In the API documentation, the only reference to adding application actions to workflows is under "workflow extensions," where it says this can only be done for contact-based workflows. However, in my demo instance I see that all other workflow types also have the option to "connect an app" when creating an action - how do we make actions from our application accessible in all workflow types?
Solved! Go to Solution.
May 20, 2019 11:23 AM
Hi, there.
At this time, the public Workflow Extensions API can only create actions for contact-based flows.
The Asana task actions you see in company, deal, ticket, and quote-based flows are the first "platform flows" we have experimented with, but they will not be the last.
At some point in the future, I would expect platform flows to support webhook extensions as well, however I can't offer a concrete timeline.
Follow the HubSpot Developer Changelog for all relevant news!
Isaac TakushiAssociate Certification Manager |
May 20, 2019 11:23 AM
Hi, there.
At this time, the public Workflow Extensions API can only create actions for contact-based flows.
The Asana task actions you see in company, deal, ticket, and quote-based flows are the first "platform flows" we have experimented with, but they will not be the last.
At some point in the future, I would expect platform flows to support webhook extensions as well, however I can't offer a concrete timeline.
Follow the HubSpot Developer Changelog for all relevant news!
Isaac TakushiAssociate Certification Manager |
Feb 16, 2022 8:35 AM
Do you have an update on adding a custom workflow action for non-contact based flows? We need to add a custom action to Deal and Ticket workflows. Do you have a procedure to allow us to list our app in "connect an app" list?
Sep 24, 2021 7:32 AM
Hi @IsaacTakushi ,
Our team is working on an Integration app for the HUBSPOT. We are getting an error while creating custom workflow action. We have followed the exact process as mentioned in this documentation:
https://legacydocs.hubspot.com/docs/methods/workflow-extensions/workflow-extensions-overview
But we are continuously getting "HTTP 404 ERROR Resource not found".
we are using this php code:
<?php
$url = 'https://api.hubapi.com/automationextensions/v1/definitions?hapikey=eu1-e63e-276d-46f7-8079-47bbdc7b5...';
$data = '{
"integrationAppId":407547,
"extensionName": "Kaleyra SMS1",
"webhookUrl": "https://kaleyra-webhooks.free.beeceptor.com",
"dataUrl":"https://mocki.io/v1/86500b02-73e6-4c04-abad-d1fc4f926ce9",
"fieldMetadata": [
{
"label": "Email",
"key": "email",
"fieldType": "TEXT",
"values": [
{
"type": "STATIC_VALUE",
"allowsMergeTags": true
}
]
},
{
"label": "Mobile Number",
"key": "phone_number",
"fieldType": "TEXT",
"values": [
{
"type": "STATIC_VALUE",
"allowsMergeTags": true
}
]
},
{
"label": "DLT ID",
"key": "DLT_key",
"fieldType": "TEXT",
"values": [
{
"type": "STATIC_VALUE",
"allowsMergeTags": true
}
]
},
{
"label": "Message",
"key": "message",
"fieldType": "TEXTAREA",
"values": [
{
"type": "STATIC_VALUE",
"allowsMergeTags": true
}
]
}
]
}';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$headers = array();
$headers[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
if (curl_errno($ch))
{
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
echo $result;
Thank you for the help