workflows.fit
Back to n8n workflows
n8n templateFreeBy ist00dent

Content summarizer via Webhook (ApyHub)

This n8n template empowers you to instantly summarize long pieces of text by sending a simple webhook request. By integrating with ApyHub's summarization API, you can distil complex articles, reports, or messages into...

DevelopmentCore NodesUtilitySticky NoteHttp RequestWebhookRespond To Webhook
Loading interactive preview...

Template notes

This n8n template empowers you to instantly summarize long pieces of text by sending a simple webhook request. By integrating with ApyHub's summarization API, you can distil complex articles, reports, or messages into concise summaries, significantly boosting efficiency across various domains.

---

๐Ÿ”ง How it works - Receive Content Webhook: This node acts as the entry point, listening for incoming POST requests. It expects a JSON body containing: - content: The long text you want to summarize. - summarylength (optional): The desired length of the summary (e.g., 'short', 'medium', 'long'). Defaults to 'medium'. And a header containing your apy-token for the ApyHub API. - Start Summarization Job: This node sends a POST request to ApyHub's summarization endpoint (api.apyhub.com/sharpapi/api/v1/content/summarize). It passes the content and summarylength from the webhook body, along with your apy-token from the headers. ApyHub processes the text asynchronously, and this node immediately returns a jobid. - Get Summarization Result: Since ApyHub's summarization is an asynchronous process, this node is crucial. It polls ApyHub's job status endpoint (api.apyhub.com/sharpapi/api/v1/content/summarize/job/status/{{jobid}}) using the jobid obtained from the previous step. It continues to check the status until the summarization is finished, at which point it retrieves the final summarized text. - Respond with Summarized Content: This node sends the final, distilled summarized text back to the service that initiated the webhook.

---

๐Ÿ‘ค Who is it for? This workflow is extremely useful for:

- Content Creators & Marketers: Quickly summarize articles for social media snippets, email newsletters, or blog post intros. - Researchers & Students: Efficiently get the gist of academic papers, reports, or long documents without reading every word. - Customer Support & Sales Teams: Summarize customer inquiries, long email chains, or call transcripts to quickly understand key issues or discussion points. - News Aggregators & Media Monitoring: Automatically generate summaries of news articles from various sources for quick consumption. - Business Professionals: Condense lengthy reports, meeting minutes, or project updates into digestible summaries for busy stakeholders. - Legal & Compliance: Summarize legal documents or regulatory texts to highlight critical clauses or changes. - Anyone Dealing with Information Overload: Use it to save time and extract key information from overwhelming amounts of text.

---

๐Ÿ“‘Data Structure When you trigger the webhook, send a POST request with a JSON body and an apy-token in the headers: