Chatgpt Prompt Actor avatar
Chatgpt Prompt Actor

Pricing

$15.00/month + usage

Go to Apify Store
Chatgpt Prompt Actor

Chatgpt Prompt Actor

Developed by

Egon Maier

Egon Maier

Maintained by Community

This Actor automates interactions with ChatGPT by sending prompts and extracting responses. it opens the web interface, dismisses pop-ups, sends prompts, waits for responses (up to 2 minutes), and extracts generated results including citations for further use.

5.0 (2)

Pricing

$15.00/month + usage

1

4

4

Last modified

8 days ago

ChatGPT Prompt Actor

This Actor automates interactions with ChatGPT by sending prompts and extracting responses. It uses PlaywrightCrawler with Camoufox - a stealthy fork of Firefox - to navigate ChatGPT's web interface and perform automated conversations.

What this Actor does:

  1. Navigates to ChatGPT: Opens the ChatGPT web interface at https://chatgpt.com/
  2. Handles UI Elements: Automatically closes any modal dialogs that might appear
  3. Processes Multiple Prompts: Sequentially sends all prompts from your input array
  4. Sends Prompts: Enters each prompt into ChatGPT's text input field
  5. Waits for Response: Monitors the page until ChatGPT completes its response (up to 2 minutes)
  6. Extracts Results: Captures the AI-generated response text and also citations, and news items
  7. Saves Data: Stores all prompts, responses, and metadata in a structured dataset

Input Parameters:

  • prompts (array): Array of messages/questions to send to ChatGPT sequentially (defaults to ["Hello, how are you?"])
  • proxyCountry (string): Select which country the proxy should be located in (optional, auto-selects if empty)

Output:

The Actor saves results to a dataset containing:

  • prompt: Original input prompt
  • response: ChatGPT's generated response
  • promptIndex: Index of current prompt (0-based)
  • totalPrompts: Total number of prompts in batch
  • timestamp: ISO timestamp of when the interaction occurred
  • error: Error message (if the interaction failed)
  • citations: Array of extracted citations from ChatGPT responses
  • newsListing: Array of news items if present in responses

Features:

  • Stealth Browsing: Uses Camoufox to avoid detection and blocking
  • Proxy Support: Automatically uses Apify proxy configuration when running on the platform
  • Country Selection: Choose proxy location from 35+ countries for geo-specific responses
  • Error Handling: Gracefully handles timeouts and extraction failures
  • Modal Handling: Automatically closes ChatGPT's welcome dialogs and popups