Quick overview
Quick overview This workflow collects an image URL via an n8n form, uses OpenRouter (Google Gemini) to generate recipe text and a print-ready HTML layout, converts the HTML to a PDF using an Apify actor, and uploads the resulting PDF to Google Drive. How it works Receives an n8n form submission containing a required dish image URL. Sends the image URL to OpenRouter (Google Gemini image model) to analyze the photo and generate corresponding recipes. Uses OpenRouter (Google Gemini chat model) to turn the generated recipe text into a one-page, A4, self-contained HTML document and a target PDF filename. Runs the Apify actor “igview-owner/html-to-pdf-api” to convert the HTML content into a PDF file. Retrieves the generated PDF from Apify’s key-value store using the last run’s output filename. Uploads the PDF to a specified folder in Google Drive. Setup Create and connect an OpenRouter API credential, and ensure the HTTP request to OpenRouter uses your API key instead of a hard-coded token. Create and connect an Apify API credential and ensure you have access to the actor “igview-owner/html-to-pdf-api”. Create and connect a Google Drive OAuth2 credential and set the destination Drive/folder where PDFs should be uploaded. Test the form trigger, then share the generated form/webhook URL with users who should submit image links. An n8n automation workflow template by Derida Falahian.
Derida Falahian
web
free
Others in the same category, ranked by how often they are opened.