So i have a workflow that receives a PDF sends it thrue then extracts text from a PDF and sends it to a code node that takes out the important page numbers, now i have to upload those page numbers and a PDF file thrue HTTP request so that pdf.co can split the PDF but i dont know how to send the PDF thrue to HTTP req cuz file is in webhook node and page numbers are in code node.
You need to fix a couple of mistakes.
This won’t work.
You need to use
$('Webhook1').first().binary.data.fileName
.
Here you need to change the node’s mode to Run once for each item. $json
is not available under Run once for all items.
If this resolves your question, please mark this post as a Solution.
P.S. I’d recommend to familiarize yourself with this doc:
Webhook file name was just a place holder cuz i dont know what information to put there so that HTTP request sends the file
You have the node named Webhook1
so not a placeholder.
You need to fix the errors above to be able to move on. Your workflow will not work even if you know what data to put into HTTP Request.
The dot after fileName
causes Syntax error.
This will do the job, thank you so much!
Happy it worked. Please mark the post above that worked as a Solution
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.