⚙ Operations Hub

BrendonTW
Contributor

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

Hey all. I have a unique use-case. We are a B2C home service company.

  • We use Contacts to represent homeowners, and possibly their spouse (a separate contact).
  • We use deals to track new revenue opportunities
  • We use tickets for service requests

Now we are wanting to move the remainder of our operation out of our legacy software and into HubSpot. This involves managing the actual properties we work on and dispatching work to be completed in large batches.

 

We have created 2 custom objects.

  • Properties - These should be the homes or physical locations we treat.
  • Stops - These should be records that correspond to actual work that will be done. 

As you can imagine, some contacts (or a couple of contacts together) can own one or multiple properties.

 

My initial plan was to simply create a custom-object active list of all properties who had an active subscription, and then when it comes time to schedule the first service of the year, Select All properties and enroll them in a workflow to create "stops" object records that would then go into a "pending" stage pipe, waiting to be scheduled. 

 

Tonight I see that I cannot enroll custom objects into a workflow. So it looks like that plan is off the table. 

 

I can't use contacts to bulk-create the "stops" because of the issue with multiple contacts for one property, or one contact with multiple properties. 

 

Any ideas?

0 Upvotes
1 Accepted solution
SteveHTM
Solution
Guide | Partner
Guide | Partner

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

@BrendonTW - it seems to me that what you want to do could be achieved pretty simply using a  imited amount of custom code ina workflow step.

- the custom list could formed as a data astructure inside the custm code with a single search call across your properties objects

- after manipulation of this list, the the required stops objects could be created by a batch creation call for that custom object type.

 

Maybe I'm off lase, but that seems to ddress the proble as stated. I agree it would be meg helpful to have list of custom objects as  way to trigger workflows directly, but without that system update there may be some deft surgury that can achive the same effect.

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature

View solution in original post

5 Replies 5
SteveHTM
Solution
Guide | Partner
Guide | Partner

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

@BrendonTW - it seems to me that what you want to do could be achieved pretty simply using a  imited amount of custom code ina workflow step.

- the custom list could formed as a data astructure inside the custm code with a single search call across your properties objects

- after manipulation of this list, the the required stops objects could be created by a batch creation call for that custom object type.

 

Maybe I'm off lase, but that seems to ddress the proble as stated. I agree it would be meg helpful to have list of custom objects as  way to trigger workflows directly, but without that system update there may be some deft surgury that can achive the same effect.

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
BrendonTW
Contributor

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

Hey Steve, I don't completely understand what you're saying could be a solution. 

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

Hi @BrendonTW,

 


@BrendonTW wrote:

Tonight I see that I cannot enroll custom objects into a workflow. So it looks like that plan is off the table.


What exactly do you mean? Should be able to create workflows based on your object. For example, I have a custom object for agencies. HubSpot lets me create agency-based workflows.

 

Best regards

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

BrendonTW
Contributor

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

Hi,

 

What I mean is, I cannot create a "list" of custom object records and then enroll them into a workflow, like you can do with contact lists.

0 Upvotes
BérangèreL
Community Manager
Community Manager

Trying to find a way to bulk create custom object records based on other custom objects

SOLVE

Hi @BrendonTW,

Thank for the additional information!

I understand that you want to create a list based on custom object properties and then use this list as an enrollment trigger in a workflow, is that correct?

I'd like to share this article "Set your workflow enrollment triggers" regarding the list membership enrollment trigger.

@karstenkoehler do you have any suggestions to help @BrendonTW to create such list, please?

If anybody else has anything to add and/or share, please feel free to join in the conversation 🙂

Thank you and have a lovely day!

Best,
Bérangère


Saviez-vous que la Communauté est disponible en Français ?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings!