• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

  • Please be informed that our team will be unavailable due to a local holiday. We will resume normal operations from Monday, 18th August 2025.

Rapid URL Indexer - "Download Project Report" Action Step

How to Process Download Project Report from Rapid URL Indexer​

This guide explains how to format the raw response from Rapid URL Indexer's "Download Project Report" action into a clean, structured format.

Overview​

The Download Project Report action returns data in a compressed format that needs to be processed through multiple steps to get clean, readable results with URL indexing status.

Step-by-Step Process​

Step 1: Download Project Report​


Use the Rapid URL Indexer: Download Project Report action to get your project data.

Expected Response Format:

"URL,Status\nhttps:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcRGgF2jB8Ni3TCaExbN20__46pSvf1pQhBAXQ&s,\"Not Indexed\"\nhttps:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcQoFRQjM-wM_nXMA03AGDXgJK3VeX7vtD3ctA&s,\"Not Indexed\"\n"

1754914690822.png




Step 2: Text Formatting​


Use Text Formatter (Pabbly): Replace Text to clean the response.

Configuration:
  • Text: Map the response from Step 1
  • Find: " (double quotes)
  • Replace: ' (single quotes)
Purpose: This converts double quotes to single quotes for proper JavaScript processing.

1754914846188.png



Step 3: JavaScript Processing​


Use Code (Pabbly): Run JavaScript to format the data into a structured output.

JavaScript Code:

const raw = // Map the result from Step 2 here

output = raw
.split('"').join('"')
.split('&').join('&')
.split('\\n').join('\n')
.split('\\/').join('/')
.replace(/^"|"$/g, '')
.trim()
.split('\n')
.slice(1)
.map(line => {
const [url, status] = line.split(',');
return {
URL: url.trim().replace(/"/g, ''),
Status: status.trim().replace(/"/g, '')
};
});

const csvHeader = 'URL,Status\n';
const csvBody = output.map(row => `"${row.URL}","${row.Status}"`).join('\n');
const csv = csvHeader + csvBody;

console.log(csv);

Important: Map the response from Step 2 (Text Formatter) into the const raw = variable.

1754915040146.png


Final Output​


After processing, you'll receive a clean, structured format with separate URL and Status fields:

Output Fields:
  • Output 0 URL: First URL from the report
  • Output 0 Status: Indexing status for first URL
  • Output 1 URL: Second URL from the report
  • Output 1 Status: Indexing status for second URL
  • Logs: Complete formatted CSV data

Tips​

  • Always process the raw response through all three steps for accurate results
  • The JavaScript code handles HTML entities and escape characters automatically
  • Use the structured output fields for individual URL processing or the Logs field for complete CSV data
 

Similar threads

Top