I’m building an AI agent to scrape the web looking for leasing leads for a warehouse developer. It starts with Searching Rows with a reasonable rating nad selecting a number of company names. Then I’d like to take each company name and give it to the Relevance AI tool.
What is the problem?
Scenario runs properly, but I have no clue how to make Relevance AI receive the data correctly. I can see that the input actually reaches Relevance, but it does not fuel the tool.
I get back an error “Studio Params Validation Error: must be object {“type”:“object”} /payload”
I also have no clue how to change the title of the variable.
Any help or indication of what’s wrong would be a great help to me.
According to your screenshot, you are sending it as a plain text string. It won’t work.
You must send a JSON object.
You can try with:
{ "payload": { "data": "{{1.yourmapping}}" } }
But that’s only generic - the expected JSON structure should be configured in Relevance and used in Make’s requests.
Once you establish the correct JSON structure, you should work on JSON sanitization - if the company name contains " characters or other forbidden special characters, your scenario will fail.
Variable Title Issue:
In the Set Variables module, the “Variable Name” field becomes your reference title - name it something clear like company_payload or search_data.
Debug Tip:
Test by sending the payload to a simple webhook first to verify the JSON structure before connecting to Relevance AI.
The key is wrapping your data in a proper JSON object structure instead of sending raw strings.