Skip to main content
Question

How to create a new subtask under a specific task in a specific folder that hasn't been created yet in ClickUp


I currently have a Zap set up that automatically creates a new folder in ClickUp whenever a deal is moved to the “Won” stage in Pipedrive.

 

Now, I’m trying to create a second Zap that would automatically create a subtask under that newly created folder once a related meeting in my Google Calendar ends.

 

The challenge I’m facing is that when I’m setting up the Zap, it only allows me to choose from existing folders and tasks — but in this case, the folder won’t exist yet at the time I’m building the Zap, since it’s only created once the deal is marked as “Won.”

 

Is there a way to set up the Zap so it dynamically identifies and places the subtask under the correct newly created folder, even though that folder doesn’t exist at the time of creating the Zap?

 

Is this kind of automation possible, and if so, could you guide me on how to set it up?

 

Thanks in advance for your help!

Did this topic help you find an answer to your question?

10 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi ​@Justin Coats 

For the fields, use the [...] button to switch to ‘Custom’ mode, then map the ID of the field object from a previous Zap step using the [+] button to make the value dynamic.


  • Author
  • Beginner
  • 4 replies
  • March 5, 2025

Thanks Troy! I appreciate your quick response!

Do you know what I can do if I don’t have the task ID of the field object from the previous zap step? It only shows the ID for the team, space and Folder. If I click in the [+] button, it only gives me options from the google calendar, which is not what I’m looking for

 


Troy Tessalone
Forum|alt.badge.img+14

@Justin Coats 

Fields marked as required expect a valid value.

You would need to add more Zap steps to find the field values to populate from ClickUp.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7733 replies
  • March 13, 2025

Hey ​@Justin Coats, just checking in—how did you get on with Troy’s suggestion? Did adding a search action to find the necessary details from ClickUp do the trick? 

Let us know if you still need any help, want to make sure you’re all set! 🙂


  • Author
  • Beginner
  • 4 replies
  • March 13, 2025

Hi Sam,

 

I appreciate you reaching out!  I’m still figuring out how to add multiple steps if I only need one more to create this zap. Not sure how to add the searching action.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7733 replies
  • March 18, 2025

Thanks for getting back to me ​@Justin Coats!

To add a search action you’d want to click on the plus (+) icon in between the Google Calendar trigger and ClickUp action:

7b88d591b314b823fdae5669884c7ed4.png

Next you’d select the ClickUp app and select the search action you want from the list of those available actions. For example:

d1e1a71da5fa1711664074d2fb79d41a.png

That said, does the task you’re wanting to get the ID for need to be created once the event ends? If so, perhaps you could use a Create Task action or Create Subtask action to create the task which would supply the task ID that you could then select in the Update Custom Field Value action to update the custom field on the task that was just created. 

You mentioned about folders not existing yet. Is there another Zap that creates the folders and does that same Zap create the Google Calendar event? If so, then you could potentially store the folder ID on the Google event so that the Zap that triggers when the event ends is able to dynamically select the folder by taking the ID of the folder that’s stored in the events details. Do you think that could that be a viable option?

Looking forward to hearing from you!


  • Author
  • Beginner
  • 4 replies
  • March 25, 2025

Hi Sam,

 

Thank you so much for your guidance and for providing more instructions.

 

I’m following your instructions by getting the Folder ID out from the zap that creates a folder in ClickUp:

 

 

But now, when I put this Folder ID in the zap where I want to create a task after a meeting ends and then update the custom field, it says that it can’t find that Folder ID:

 

 

All I want is to be able to send a follow up email through ClickUp after a meeting ends. In order for me to do this, I have to update a custom field of the task that is under the new folder that was created previously from the first zap, this will trigger the action “send email” in the automation in ClickUp.


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2566 replies
  • March 26, 2025

Hi ​@Justin Coats,

 

Suppose your Zap fails to use a Folder ID from a previously created ClickUp folder to create a task and update a custom field. In that case, it may be due to an incorrect Folder ID, a timing issue where the folder isn't created before the Zap runs, or a permissions problem. Ensure the Folder ID is correct, add a delay if needed, and verify ClickUp permissions. If the issue persists, providing more details about your Zaps can help troubleshoot further.

 

I hope this helps. If you have any further questions or need more assistance, please don't hesitate to ask.


  • Author
  • Beginner
  • 4 replies
  • March 26, 2025

Hi Jammer,

 

Once a new folder is created, I need the custom field to be updated in that new folder in ClickUp. This folder will be new for each new deal. I already created the Zap for every time the new deal is moved to a specific stage. That Zap works, but The challenge I’m facing is that when I’m setting up the Zap to update the custom field of the task that is under the new folder, it only allows me to choose from existing folders — but in this case, the folder won’t exist yet at the time I’m building the Zap, since it’s only created once the new deal is moved to a specific stage.

 

So I’m trying to figure out what is the Folder ID that i need to put in this new zap? Is it the ID of the folder that is created in the first zap?: 

 

 

If not, then I’m not sure how to find the right Folder ID of a folder that will be created in the future as a deal comes in


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2566 replies
  • March 27, 2025

Hi ​@Justin Coats,

 

You'll need the Folder ID to update a custom field in a newly created ClickUp folder when a deal moves to a specific stage. Since the folder doesn't exist when setting up the Zap, start with a placeholder folder. Then, modify the Zap to dynamically pull the Folder ID from the first Zap (which creates the folder) and use it in the second Zap (which updates the custom field). Ensure the first Zap runs at least once so the second can access the Folder ID.

 

I hope this helps. If you have any more questions or need further clarification, don't hesitate to ask.


Reply