Webhook to Monday.com
Error Message:
| Choice Number: | 3896 |
|---|---|
| Pay Load: | { “query”: “mutation ($boardId: Int!, $companyName: String!, $columnVals: JSON! ) {create_item (board_id: $boardId, item_name: $companyName, column_values: $columnVals) {id}}”, “variables”: {“boardId”:2364371628, “companyName”:““test23LastOne””, “columnVals”: “{“phone”:”“7169084086"”,“text”:““test23LastOne””, “text4”:““test23LastOne””, “long_text”:““test23LastOne””, “status4”:“Website Form”,“email”:{“text":""test23LastOne@test.com” “,“email”:""test23LastOne@test.com” “}}”} } |
| Url: | https://api.monday.com/v2 |
| Webhook Id: | 10 |
| Webhook Name: | MarketoToMonday |
| Request Type: | http_post |
| Step ID: | 3630 |
| Source: | Marketo Flow Action |
| Response: | {“errors”:[{“message”:“No query string was present”}],“account_id”:6562763} |
| Person ID: | 3238884 |
| Response Code: | 200 |
Here is my code:
{ "query": "mutation ($boardId: Int!, $companyName: String!, $columnVals: JSON! ) {create_item (board_id: $boardId, item_name: $companyName, column_values: $columnVals) {id}}", "variables": {"boardId":2364371628, "companyName":"{{company.Company Name}}", "columnVals": "{\"phone\":\"{{lead.Phone Number}}\",\"text\":\"{{lead.First Name}}\", \"text4\":\"{{lead.Last Name}}\", \"long_text\":\"{{company.Company Notes}}\", \"status4\":\"Website Form\",\"email\":{\"text\":\"{{lead.Email Address}} \",\"email\":\"{{lead.Email Address}} \"}}"} }
Here is the Marketo Configuration:
I’m getting this error from Marketo saying the query string is not present but you can clearly see that it is there. I’ve tried this raw query in Postman and through the Monday.com API playground and it works perfectly fine.
Can someone please help investigate this?