Can Anyone Assist in Creating Association with HubSpot?

This topic was automatically generated from Slack. You can find the original thread here.

Hello, I’m new here. Just want to ask if anyone can assist in creating association with hubspot?

Hi, welcome to Pipedream! Let’s see if Pi can help

can you assist me in creating association with hubspot?

To create associations in HubSpot using Pipedream, you can use the “Create Associations” action. Here’s a step-by-step guide on how to do this: 1. Search for the HubSpot app in the Pipedream step menu. 2. Select the “Create Associations” action from the list of available actions. 3. Connect your HubSpot account to Pipedream if you haven’t already done so. 4. Select a “From Object Type” or pass a string from a previous step. This specifies the type of object you’re associating from. 5. Select a “From Object” or pass a string from a previous step. This specifies the specific object you’re associating from. 6. Select a “To Object Type” or pass a string from a previous step. This specifies the type of object you’re associating to. 7. Select an “Association Type” or pass a string from a previous step. This defines the type of association you’re creating. 8. Select one or more “To Objects” or pass an array of strings from a previous step. This specifies the specific objects you’re associating to. 9. At the bottom of the step, click “Test” to run the action and test the configuration. This process will create the desired associations between objects in your HubSpot account. If you encounter any issues or need further assistance, you can visit Pipedream Support for more help.

does this help?

can I use the default Hubspot create association? because I’m trying to fetch data record ID from company and deal and create an associate between two property.

Yes, I think so! Do you mean this action?
https://pipedream.com/apps/hubspot/actions/create-associations

I’m getting an error when I use the record ID on company and deal property

Can you share the workflow URL you see in your browser so I can take a look?

How to do that?

Sign Up - Pipedream use this

When viewing the workflow in your browser window, copy the URL and paste it here or DM me

So I can look at your workflow configuration

I already did

Sign Up - Pipedream use this link

Sorry, not a share link. I need the workflow URL itself

I see an error in the step configuration — would you like to click on the Debug with AI button to understand the error?

Okay, the prop To Objects requires an array, I think you were passing an integer instead

Itw orks

Notice that I put {{ [ steps.Get_Deal_Record.$return_value.id ] }} as the value, this transforms it to an array of a single item