Skip to main content
Best answer

How to Dynamically Retrieve a Monday Subitem ID from an Item ID

  • October 22, 2024
  • 3 replies
  • 46 views

How do I retrieve a Monday Subitem ID from an Item ID dynamically (not statically)?

My use case: New item on Monday > X subitems created > Create new files & folders in share point > copy SharePoint link to specific Subitem Column (“Link”).

I am able to do this for the Parent Item, but I would like to do this for subitems as well.

 

Using the new feature added for Monday Subitems, I am able to see all my columns when choosing from the drop down list (static) & inputting the subitem ID manually (static). 

 

Is there a way find the Subitem ID from the Parent ID dynamically? That way, I can select it from a step.

Best answer by Troy TessaloneBest answer by Troy Tessalone

@mikeonthemic 

You’ll have to try using the Monday API: https://developer.monday.com/api-reference/

Zap action: Monday - API Request

 

 

NOTE: Replace XXX with the Monday Item ID

{
    "query": "query { items(ids: [XXX]) { id name subitems { id name column_values { id value text } } } }"
}

 

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

Troy Tessalone
Forum|alt.badge.img+14

Hi @mikeonthemic 

Try this Zap action: Monday - Get Subitem Values

 

 


Troy Tessalone wrote:

Hi @mikeonthemic 

Try this Zap action: Monday - Get Subitem Values

 

 

Hi Troy,

 

I’ve tried this. This only gave me the plaintext values inputted in the columns, not the UID of the subitem.

For example, if I had a Text column with “monday”, then that step would return Text: monday.


Troy Tessalone
Forum|alt.badge.img+14

@mikeonthemic 

You’ll have to try using the Monday API: https://developer.monday.com/api-reference/

Zap action: Monday - API Request

 

 

NOTE: Replace XXX with the Monday Item ID

{
    "query": "query { items(ids: [XXX]) { id name subitems { id name column_values { id value text } } } }"
}

 


Reply