Actions9
- Text Actions
- Image Actions
- Audio Actions
- Embedding Actions
Overview
This node integrates with Cloudflare's AI services to perform various AI-powered text processing tasks. Specifically, for the Text - Summarization operation, it sends input text to a Cloudflare-hosted summarization model that generates a concise summary of the provided content.
Common scenarios where this node is beneficial include:
- Automatically generating summaries of long articles, reports, or documents.
- Creating brief overviews of customer feedback or reviews.
- Condensing meeting notes or transcripts into key points.
For example, you could feed a lengthy product review text and receive a short summary highlighting the main opinions expressed.
Properties
| Name | Meaning |
|---|---|
| Text | The text content to be summarized. This is the input on which the summarization model operates. |
Output
The output JSON contains the summarization result returned by the Cloudflare AI model. Typically, the structure includes a result field with the summarized text content.
Example output JSON snippet:
{
"summary": "A concise summary of the input text."
}
If the node encounters an error during the API call, the output will contain an error field describing the issue.
This node does not output binary data for the summarization operation.
Dependencies
- Requires a valid Cloudflare API key credential with access to the AI models.
- Needs the Cloudflare account ID and API token configured in n8n credentials.
- Internet connectivity to reach Cloudflare's AI API endpoints.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing empty or excessively large text inputs may lead to errors or unexpected results.
- Network connectivity problems can prevent successful API calls.
Error messages:
"Request failed": General failure from the API; check credentials and input parameters.- Errors containing messages from the Cloudflare API (e.g., quota exceeded, invalid model) should be resolved by verifying account limits and model availability.
Resolution tips:
- Ensure the Cloudflare API key and account ID are correctly set up in n8n.
- Validate that the input text is non-empty and within reasonable length limits.
- Check network access and firewall settings if requests fail to reach the API.