Hola! ¡Tenemos nuestra Comunidad en Español!

Work flow API

New Contributor

Hi All,

 

I have all my contacts out side of HubSpot and want to run HubSpot workflows from out side of HubSpot using API's.

 

Is this possible and how i can acheve it?

 

Please help.

 

Thank you in advance.

Reply
0 Upvotes
5 Replies
HubSpot Moderator

Hi @Arpitbaniya,

 

Could you maybe give some more details about what your end goal is? Typically workflows are used to move a HubSpot object through some kind of automation. So for example if you're creating a contact-based workflow (https://knowledge.hubspot.com/articles/kcs_article/workflows/create-contact-based-workflows), you'll enroll contacts in the workflow, and then take action on those records or their associations. Or alternatively you could create a workflow based on company records or deal records (https://knowledge.hubspot.com/articles/kcs_article/workflows/create-company-deal-ticket-quote-based-...). But those records will live in HubSpot.

 

Is there something that you're doing from within HubSpot to trigger some actions in your external system? In that case maybe you could look into webhooks: https://knowledge.hubspot.com/articles/kcs_article/workflows/how-do-i-use-webhooks-with-hubspot-work..., https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview.

 

And again, feel free to give some more details about what your end goal is here. I'll be happy to take another look and see if a workflow could work for what you're trying to do.

 

 - Leland

Leland Scanlan

HubSpot Developer Support
Reply
0 Upvotes
New Contributor

@lscanlan

Thank you for reply.

We have all our data(Contact) on Salesforce and we want to run HubSpot Workflows based on the Salesforce Contacts.
We do not want to keep data (Contacts) on HubSpot. Is there any way to do that ?

Highlighted
Esteemed Advisor

Hi, @Arpitbaniya. Can you say more about what HubSpot workflow options you wouldn't be able to execute on your own in Salesforce, either through declarative automation or Apex? Anything you can accomplish with HubSpot workflows, you can probably do on your own in Salesforce.


Brad Mampe, Salesforce Analyst, Fidelity
I'm probably wrong. I may not be right about that.
New Contributor

Hi @bradmin ,

 

Thank you for the reply.

 

We want to run the hubspot workflows from Salesforce using Apex classes.

 

let me explain it more.

1. We do not want to keep our contacts & users data on Hubspot.

2. All the user's data and contacts will be on Salesforce.

3. We want to keep our Hubspot workflows (we have many) on our Hubspot instance.

4. We want to run all the Hubspot workflows from salesforce using apex classes.

 

is there any way to achieve this?

 

Thanks

 

 

 

Reply
0 Upvotes
Esteemed Advisor
I understand that, but what's the actual workflow action you want to run?

Any HubSpot workflow has to be triggered by the HubSpot record and object that meets the criteria. It's predicated on having records in HubSpot. Without contacts, running HubSpot contact workflows is impossible.

That's why I asked about the use case. If your needs are because there's a HubSpot workflow action you can't emulate in Salesforce, I can help think of that. But it's not like you get an extra set of automation tools at your disposal to manipulate Salesforce records. You'd need contacts in HubSpot to make that happen.

Brad Mampe, Salesforce Analyst, Fidelity
I'm probably wrong. I may not be right about that.
Reply
0 Upvotes