Quick overview This workflow hosts an n8n form that accepts a Brazilian CNPJ, validates and normalizes the input, then queries the public Minha Receita API to fetch company registration details and displays either a formatted results page or an error page with a link back to the form. How it works Receives a CNPJ through an n8n form submission. Sets the base URL for the Minha Receita API and the redirect URL used by the “Search Again” button. Removes punctuation from the CNPJ and validates that it contains exactly 14 digits. Requests company data from the Minha Receita API endpoint for the cleaned CNPJ. Displays a results form with key company fields (for example, status, CNAE, partners, and address) when the API returns data. Displays an error form when the CNPJ format is invalid or the API request fails, then redirects back to the input form. Setup Activate the workflow and copy the Production URL from the form trigger. Paste that URL into the Set URL step (replace REPLACE_WITH_PRODUCTION_FORM_URL) so completion pages can redirect users back to the search form.
Tags
Related workflows
See all General Automation→UGC Video Generation with Wan 2.5 on Replicate
This workflow automatically converts static images into dynamic videos using AI-powered animation. It saves you hours of video editing by transforming product photos, marketing images, or any static visuals into engaging video content perfect for social media and advertising campaigns. Overview This workflow automates the entire image-to-video generation process using the WAN-VIDEO 2.5 model via Replicate API. Simply provide an image URL and a text prompt describing the desired motion, and the workflow handles the video creation, status monitoring, and delivery of your animated content - typically ready in 30-120 seconds. Tools Used n8n**: The automation platform that orchestrates the workflow Replicate API**: Powers the WAN-VIDEO 2.5 AI model for image-to-video generation Status Monitoring**: Automated checking system with intelligent retry logic Error Handling**: Built-in resilience with comprehensive error management How to Install Import the Workflow: Download the .json file and import it into your n8n instance Get Replicate API Key: Sign up at replicate.com and copy your API token Configure API Token: Replace the placeholder in the "Set API Token" node Add Your Image: Update t
Get Xiaohongshu note details from a keyword with JustOneAPI
Use this n8n workflow template to get Xiaohongshu note details from a keyword with JustOneAPI. Who’s it for This template is for content researchers, creator operations teams, marketing teams, and automation builders who want to turn a Xiaohongshu keyword into a structured list of note details inside n8n. How it works The workflow starts with a single configuration node where you add your JustOneAPI token and the keyword you want to research. It then searches Xiaohongshu notes with the V2 search endpoint, extracts note IDs from the returned results, removes duplicates, and keeps only the first unique note ID by default. After that, it requests note details and outputs a structured note detail record that can be reused in downstream workflows. You can increase maxNotes if you want to retrieve details for more than one unique note ID. How to set up Import the workflow into n8n. Open the Set API Token and Research Inputs node. Add your JustOneAPI token. Replace the placeholder values for keyword and other optional search inputs. Leave maxNotes set to 1 if you want to fetch only the first unique result by default. Run the workflow and review the final output node. Requirements A JustOn
Generate and edit images with Havis AI Nano Banana 2
Havis AI - Nano Banana 2 n8n Workflow Summary This n8n workflow submits an image generation job to Havis AI Nano Banana 2, waits for processing, polls task status, and returns result data when the job completes. Who is this for? Creators who want a reusable no-code generation form. Agencies building client-facing AI automation. Developers who want an importable API test workflow. n8n users connecting Havis AI output to storage, Slack, Sheets, Airtable, webhooks, or a CMS. What this workflow does Opens an n8n Form Trigger for Nano Banana 2 inputs. Builds a clean JSON payload and removes empty optional fields. Sends a POST request to https://havis.ai/api/nano-banana-2. Waits 8 seconds, then polls https://havis.ai/api/task/{task_id}. Loops while the task is processing. Returns task ID, status, result URLs, credits used, and submitted payload. Returns a clean error object if the task fails. Setup Import the JSON workflow into n8n. Open the Form Trigger URL. Enter your Havis API key in api_key. Use only the key value; the workflow adds Bearer automatically. Fill in the model inputs and submit. For production, store the API key in n8n credentials or environment variables instead of typin