Track website traffic & backlinks with Ahref API and Google Sheets
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when someone submits an n8n form (“Website Traffic Checker”). Along the way it connects Google Sheets. It also calls website-traffic-checker-ahref.p.rapidapi.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Website Traffic Checker”).
- Set Domain Value (Edit Fields (Set)): sets 1 field: Domain
- Check Website Traffic API (HTTP Request): calls website-traffic-checker-ahref.p.rapidapi.com (POST)
- Check if API Call Succeeded (If): checks a condition and branches into true / false
- Extract Backlink Info (Code): runs custom JavaScript code
- Extract Traffic Info (Code): runs custom JavaScript code
- Send Failure Email Alert (Send Email): sends an email over SMTP
- Log Backlinks to Sheet (Google Sheets): append
- Log Traffic to Sheet (Google Sheets): append
Services it uses
HTTP calls to: website-traffic-checker-ahref.p.rapidapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets
From the author
📊 Automated Website Traffic Tracker with Google Sheets Logging Track website traffic and backlinks effortlessly using the Website Traffic Checker - Ahref API. This n8n workflow automates data retrieval and logging into Google Sheets, making it perfect for…