Send info about subtask using Api

Hi,

I need to generate a custom link to a questionare which should include subitems ID, so that I can later return some info back to that subtask.

So, I need to send at least subitems ID, when I change a field in it. Ex - I choose some dropdown option and the info about subtask has to be sent to Zapier for example.

Did anyone do smth like that?

Hello there @Andriy_Sushko

I am not sure I understand the use case here.

You have a questionare (a form outside of monday with questions?) and you want to send information from the submission of that questionare into a monday board?

What is the exact flow? And how does Zapier fit in this flow?

Looking forward to hearing from you :slightly_smiling_face:

1 Like

Hi Matias,
Thanks for taking a look into it.

My main idea is to generate a link for questionare like this https://typeform.com/to/tqysdaqFV#boardid=xxxxx&itemid=yyyyyy&subitemid=vvvvvvv
So I need to get these xxxxx, yyyyy and vvvvv from Monday.
I didn’t find an option to generate such link inside Monday, so I decided to send needed information to Zapier, generate the link there and send it via email or teams.
After filling the form, I will use the xxxxx, yyyyy, vvvvv details to send a reply to monday and create a discussion in selected subitem.

Hello again @Andriy_Sushko,

If what you need is to get a board ID, item ID and subitem ID, you can do so using the API:

Get boards:

{
  boards(limit:10000){
    name
    id
  }
}

Once you have your board, you can get your item ID:

{
  boards(ids:1234567890){
    items(limit:10000){
      name
      id
    }
  }
}

Once you have your item ID, you can get your subitem ID:

{
  items(ids:1122334455){
    subitems{
      name
      id
    }
  }
}

Is that what you needed to do?

1 Like