This n8n workflow automates the process of summarizing content through a webhook-triggered API call. It listens for incoming POST requests containing text to summarize and optional parameters, then interacts with ApyHub’s summarization API to generate concise summaries.
The workflow starts with a webhook node that receives content and optional ‘summary_length’ from an external source. It then sends a POST request to ApyHub’s API, passing the received content and a token for authentication, to initiate a summarization job. Once the job is initiated, the workflow polls the API at intervals to check the status using the provided ‘job_id’. When the summarization is complete, it retrieves the summarized text.
Finally, the workflow responds to the original webhook request with the summarized content, making it ideal for use-cases like automated content curation, summarizing long articles, or providing quick content previews. This setup can be integrated into WordPress or other platforms to automate content processing seamlessly.
