[SOLVED] 400: Bad request when updating an Organization in Integromat

Hey guys. Are you okay? Integromat is giving a small error when updating an organization in Pipedrive.

I’ll print the error down here. Does anyone know what can it be?

Hi @jorgetrivilin

It’s hard to suggest something here as it’s a custom setup on the Integromat side. I noticed that you’re trying to use Org. ID from the previous step request body, if so, did you try to use Org. ID from the original source (from where it’s coming from)?

Thank you mykhailo. The problem was because Integromat wasn’t filtering data without ID, so he couldn’t find the ID on next modules. In fact, the problem was my fault, because i need to create a filter and a router so the data follows through the variables.

Exemple: If the e-mail doesn’t exist in Pipedrive, i must send this data flow to another module that’s going to create a new person in Pipedrive. If the e-mail exists but the person doesn’t have any organization in Pipedrive, i must send this data to another module that’s going to create a new organization in Pipedrive and so on.