全部範本

研究

Research a Topic into HTML

Research a topic with Perplexity and return an HTML article.

Research a Topic into HTML 在 Open Flow 中的工作流程截圖Research a Topic into HTML 在 Open Flow 中的工作流程截圖

Research a topic with Perplexity and return an HTML article.

Setup

Import Research topic to HTML and Perplexity research tool, configure an AI model and the PERPLEXITY_API_KEY secret, connect Telegram, enable persistent State, publish the research tool and refresh its interface in the main workflow. Restrict webhook access.

Send a GET request with URL-encoded topic, chatId and requestId query parameters. Use a unique requestId for each request and prevent overlapping requests with the same ID.

Behavior

The workflow rewrites the topic, invokes a Perplexity research tool, sends the research topic and an excerpt to Telegram, and returns a generated HTML page. Research is limited to the source workflow’s perplexity.ai domain and the preceding month. Both the topic and research are sent to external AI services. Generated HTML can contain inaccurate or unsafe content; inspect it and display it only in a sandboxed context.

A notification is reserved before sending. A repeated request ID is blocked; resolve the existing notification manually and use a new ID only after confirming whether the prior messages were sent. Never run both entry points for the same request.

The synchronous Sonar Chat Completions API remains operational through Perplexity’s compatibility path, although its support ended on September 27, 2026. Check Perplexity’s current API availability before use.

In n8n

In n8n configure OpenAI, Perplexity header authentication and Telegram. Create a Data Table with item_key and status text columns, select it in both notification reservations, and set the imported workflow ID in Call Perplexity Researcher. Choose one entry point: enable the original n8n webhook for direct n8n operation, or disable it and enable Open Flow HTML frontend, with the deployed Open Flow webhook URL. The n8n response applies a restrictive Content Security Policy. If a response is lost or a request times out, inspect Telegram and the pending State or Data Table row before retrying.

Inspiration & credits

Adapted from Perplexity Researcher to HTML Web Page in enescingoz/awesome-n8n-templates.

Source collection notice: © 2024–2026 Enes Cingoz, CC BY 4.0. The source export does not identify a separate template author or license. See repository licensing for the scope of OOMOL contributions and third-party material.