< Go back to blog
Tutorials

December 22, 2024

How to Make an API Call in Dumpling AI Using Make.com

APIs are the backbone of automation, enabling seamless communication between systems. With Dumpling AI’s API capabilities in Make.com, you can extract, transform, and analyze web data without writing a single line of code. This automation is perfect for scenarios like scraping website content, processing leads, and turning raw data into actionable insights. It simplifies complex workflows, saving time and improving productivity. By the end of this tutorial, you’ll know how to set up and execute an API call to Dumpling AI directly from Make.com.


Overview of the Workflow

  1. Google Sheets Watch Rows Module: Detects new entries in a Google Sheet (e.g., hot leads).
  2. Dumpling AI API Call Module: Executes an API call to scrape, clean, and format content from URLs.
  3. API Reference Details: Incorporates Dumpling AI’s official API endpoint configurations.
  4. Result Output: Processes the API response for further actions like saving or analysis

Step 1: Monitor Google Sheets for New Data

Limit the rows fetched to 1 per execution

Purpose:

Watch a Google Sheet for new rows of data to trigger API calls.

Configuration:

Add the Google Sheets Watch Rows module.

Connect your Google account and select the desired spreadsheet (e.g., “leads”) and sheet (e.g., “Hot Leads”).

Enable Includes Headers to identify the column structure.

Set the row header range (e.g., A1:Z1).

Step 2: Configure Dumpling AI API Call

  1. Purpose:
    • Call Dumpling AI’s scraping endpoint to process the URL from the Google Sheet.
  2. Reference to Dumpling AI API Documentation:
  3. The endpoint /v1/scrape is used for scraping web content. Key parameters include:
    • url: The target web page URL.
    • format: Desired output format (markdown, json, plain text).
    • cleaned: Specifies if data cleaning is required.
  4. Configuration:
    • Add the Dumpling AI API Call module.
    • Connect your Dumpling AI account.
    • Configure the following parameters:
      • Path: Set to /v1/scrape as per the documentation:{

  “url”: “{{2.`1`}}”,

  “format”: “markdown”,

  “cleaned”: “yes”

}

url: Maps the Website column from the Google Sheets module.

format: Chooses markdown for structured output.

cleaned: Ensures data is sanitized and cleaned(optional)

Testing the Workflow

  1. Add a test row in the Google Sheet:
    • Names: John Doe
    • Website: https://example.com
    • Other fields as needed.
  2. Run the scenario in Make.com:
    • Ensure the API call to Dumpling AI is successful.
    • Verify the extracted content in the output.

Tips for Optimization

  • Tailor Output: Modify the format parameter in the API body to suit your requirements.
  • Expand Use Cases: Use the scraped content for SEO analysis, competitor tracking, or content creation.
  • Automate Error Handling: Add Make.com error-handling modules to retry failed API calls or log issues.

Conclusion

This workflow leverages Dumpling AI’s robust API to streamline data extraction, saving you time while ensuring high-quality results. Explore the full capabilities of the API to unlock even more automation potential!

Related Posts

How to Find All URLs on a Domain for Scraping
Tutorials

How to Find All URLs on a Domain for Scraping

January 16, 2025

Understanding the Dumpling AI Generate AI Agent Completion Module
Tutorials

Understanding the Dumpling AI Generate AI Agent Completion Module

January 14, 2025

Dumpling AI Generate AI Image with Recraft V3 Module: Transforming Ideas into Visual Masterpieces
Tutorials

Dumpling AI Generate AI Image with Recraft V3 Module: Transforming Ideas into Visual Masterpieces

January 12, 2025

How to Monitor Competitor Business Reviews and Identify Weaknesses Using Dumpling AI and OpenAI in Make.com
Tutorials

How to Monitor Competitor Business Reviews and Identify Weaknesses Using Dumpling AI and OpenAI in Make.com

January 9, 2025

How to Automate AI Images for Social Media Posts Using Dumpling AI Flux.1 Pro and OpenAI in Make.com.
Tutorials

How to Automate AI Images for Social Media Posts Using Dumpling AI Flux.1 Pro and OpenAI in Make.com.

January 6, 2025

How to Repurpose Instagram Reels into YouTube Shorts and Twitter post using Dumpling AI and Make.com
Tutorials

How to Repurpose Instagram Reels into YouTube Shorts and Twitter post using Dumpling AI and Make.com

January 2, 2025