{"product_id":"image-to-recipe-pdf-n8n-workflow-openrouter-apify-drive","title":"Image-to-Recipe PDF n8n Workflow: OpenRouter, Apify \u0026 Drive","description":"\u003ch3\u003eTurn a dish photo into a print-ready recipe PDF—then store it in Google Drive\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eImage-to-Recipe PDF\u003c\/strong\u003e \u003cstrong\u003en8n workflow\u003c\/strong\u003e takes an image URL from an n8n Form submission, uses \u003cstrong\u003eOpenRouter (Google Gemini)\u003c\/strong\u003e to generate a recipe, converts it to a one-page \u003cstrong\u003eA4 PDF\u003c\/strong\u003e via \u003cstrong\u003eApify\u003c\/strong\u003e, and automatically uploads the result to \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives an n8n form submission\u003c\/strong\u003e containing a required \u003cstrong\u003edish image URL\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnalyzes the photo and generates recipe text\u003c\/strong\u003e by sending the image URL to \u003cstrong\u003eOpenRouter\u003c\/strong\u003e using a \u003cstrong\u003eGoogle Gemini image model\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates printable output\u003c\/strong\u003e by using an additional \u003cstrong\u003eOpenRouter (Google Gemini) chat model\u003c\/strong\u003e step to transform the recipe text into:\n    \u003cul\u003e\n      \u003cli\u003ea \u003cstrong\u003eone-page, self-contained HTML\u003c\/strong\u003e document\u003c\/li\u003e\n      \u003cli\u003ea \u003cstrong\u003etarget PDF filename\u003c\/strong\u003e\n\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConverts HTML to PDF\u003c\/strong\u003e by running the Apify actor \u003cstrong\u003eigview-owner\/html-to-pdf-api\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRetrieves the generated PDF\u003c\/strong\u003e from Apify’s \u003cstrong\u003ekey-value store\u003c\/strong\u003e using the last run’s output filename.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUploads the PDF\u003c\/strong\u003e to a specified \u003cstrong\u003efolder in Google Drive\u003c\/strong\u003e via an OAuth2 credential.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRecipe generation for SaaS\u003c\/strong\u003e apps: users submit a dish image link and instantly receive a downloadable PDF.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRestaurant or creator workflows\u003c\/strong\u003e: generate consistent, printable recipe pages for menus, blogs, or guides.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e: a practical example of connecting \u003cstrong\u003eOpenRouter\u003c\/strong\u003e, \u003cstrong\u003eApify\u003c\/strong\u003e, and \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e in n8n.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eNodes\/stack: \u003cstrong\u003eForm Trigger\u003c\/strong\u003e, \u003cstrong\u003eHTTP Request\u003c\/strong\u003e, \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e, \u003cstrong\u003eApify\u003c\/strong\u003e (apify-n8n-nodes-apify), and an \u003cstrong\u003en8n LangChain Agent\u003c\/strong\u003e setup (n8n-nodes-langchainagent).\u003c\/li\u003e\n  \u003cli\u003eLLM provider: \u003cstrong\u003eOpenRouter\u003c\/strong\u003e (with Google Gemini models) using your \u003cstrong\u003eAPI key\u003c\/strong\u003e (no hard-coded tokens).\u003c\/li\u003e\n  \u003cli\u003ePDF conversion: \u003cstrong\u003eApify actor\u003c\/strong\u003e \u003cem\u003eigview-owner\/html-to-pdf-api\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003eStorage: uploads the resulting \u003cstrong\u003ePDF\u003c\/strong\u003e to your configured Google Drive destination folder.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eAfter you test the trigger, share the generated \u003cstrong\u003eform\/webhook URL\u003c\/strong\u003e with users who will submit image links.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45974316679347,"sku":"N8N-19291","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/KYajxEibofdY0cPgD_Dpt_bHIvhQHR.png?v=1788772283","url":"https:\/\/buyflowscripts.com\/products\/image-to-recipe-pdf-n8n-workflow-openrouter-apify-drive","provider":"N8N Commerce","version":"1.0","type":"link"}