My workflow executes ok but the last node (http request) returns "Processing is done but no results were found."
My goal is to enrich some leads with company data. I’ll get data from an API service. The API expects CSV or TXT file.
Each lead has a number called CNPJ (company register in Brazil). I need to get each CNPJ number, write a CSV or TXT file, transform it’s binaries to base64, create a JSON object and send it via HTTP Request.
Well, when I send the JSON and they receive a filesystem-v2 named file and does not match the expected filenam input. They need a CNPJ (number) filename input.
Wha’t am I doing wrong? May be the node "Convert CSV to base64 " it’s not configured properly? I think the error is in the conversion process.
The point is the API server still not creating a return of a download link (CSV file) file cause, even thought the workflow and sending request runs ok, my request still has a error.
I noticed the error may be ocurring in “Convert data to CSV file” or “Convert CSV to Base64”.
As you can see the encoded file has a base64 name ZmlsZXN5c3RlbS12Mg== = filesystem-v2 . The API won’t return any result if the file name is filesystem-v2 , and it’s expects a CNPJ number that’s is a var $json.CNPJ.
I’m struggling to find a way to change the base64content name from ZmlsZXN5c3RlbS12Mg== to a var $json.CNPJ.