Integrations

Supercharge Cloudflare with Relevance AI

Cloudflare is a leading provider of CDN, DNS, and security services that help ensure fast and secure web experiences. Relevance AI enhances Cloudflare's functionality by enabling AI-driven automation and intelligent management of your web infrastructure.

Give your AI Agents Cloudflare Superpowers

Cloudflare provides robust CDN, DNS, and security features that protect and accelerate your web applications. With Relevance AI, you can leverage these capabilities through intelligent AI Agents that automate and optimize your configurations.

Intelligent Security Orchestration

Agent autonomously coordinates security responses across Cloudflare's protection layers for real-time threat mitigation

Predictive Resource Scaling

Agent anticipates traffic surges and automatically adjusts resource allocation before performance impacts occur

Global Performance Mastery

Agent leverages Cloudflare's worldwide network to optimize content delivery and reduce latency across all regions

Tools

Equip AI Agents with the Cloudflare Tools they need

Relevance AI seamlessly integrates Cloudflare's services into your automated workflows, enhancing your web performance and security management.

Update Zone Security Level
Modifies the security level settings for a Cloudflare zone to protect against various threats and attacks
Revoke Certificate
Invalidates and revokes an existing SSL/TLS certificate from a specified Cloudflare zone
Revoke Certificate
Invalidates and revokes an existing SSL/TLS certificate from a specified Cloudflare zone
Query Worker Analytics
Retrieves analytics data and metrics for Cloudflare Workers running on a specified account
Purge Files by URL
Selectively purges cached content from Cloudflare's CDN by specifying individual URLs
Purge All Files
Completely clears all cached content from Cloudflare's CDN for a specified zone
Patch DNS Record
Updates specific fields of an existing DNS record while maintaining other settings
Name
Cloudflare (API key) API Call
Description
Make an authorized request to a Cloudflare (API key) API
Parameters
["oauth_account_id", "method", "path", "body", "headers"]
Use Case
A web hosting company automates security rule updates across multiple client domains by making authenticated API calls to Cloudflare's security endpoints, enabling rapid response to emerging threats while maintaining consistent protection policies.

Security & Reliability

This integration enables seamless management of Cloudflare's CDN, DNS, and security services through Relevance AI's automation platform. Key benefits include automated DNS record management, streamlined security configuration, certificate lifecycle management, and simplified cache purging and zone controls.

To get started, ensure you have the required accounts and credentials, including a Cloudflare account with an API Key, Account ID, and Zone ID(s), as well as a Relevance AI account. Make sure your system meets the requirements, such as having Node.js 12.x or higher and an HTTPS enabled endpoint for webhook responses.

Authentication is set up using OAuth, and you will need to configure the base URL for the Cloudflare API. The integration allows you to create DNS records, update security levels, and purge cache with simple API calls.

For troubleshooting, common issues include authentication failures, zone access issues, and rate limiting. Implement best practices for error handling, certificate management, and DNS management to ensure smooth operation. Regular monitoring and maintenance are essential for optimal performance and security.

For additional support, consult the full API documentation or contact Cloudflare support with specific error codes and timestamps for context as needed.

No training on your data

Your data remains private and is never utilized for model training purposes.

Security first

We never store anything we don’t need to. The inputs or outputs of your tools are never stored.

Get Started

Best Practices for Non-Technical Users

To get the most out of the Cloudflare + Relevance AI integration without writing code:
  • Start with a clean configuration: Ensure your Cloudflare settings are organized and clearly defined for optimal management.
  • Use automation templates: Relevance AI provides pre-built workflows for DNS management, security updates, and cache purging—perfect for quick setup.
  • Connect carefully: Verify that you are using the correct Cloudflare account and zone IDs during the integration process.
  • Test before scaling: Execute automations on a test zone first to prevent widespread issues.
  • Monitor API usage: Keep an eye on rate limits and implement exponential backoff strategies to avoid throttling.