Skip to content

Conversation

@martechdev
Copy link

WHAT

  • Add screenshotbase app (API key auth, optional base_url)
  • Actions:
    • Take Screenshot
    • Take PDF
    • Take from HTML
    • Take Screenshot (Advanced)

WHY

Enable users to generate screenshots and PDFs directly in Pipedream workflows without custom HTTP steps. This reduces setup friction, standardizes auth, and covers common use cases (marketing previews, reports, QA snapshots, uptime/visual monitoring, social images).

HOW

  • Uses GET /v1/take; maps camelCase props to snake_case params (e.g. fullPage -> full_page, waitForSelector -> wait_for_selector).
  • Auth via apikey header.
  • App test request respects user base_url with fallback to https://api.screenshotbase.com and calls /status.
  • Adds $.summary to actions; defaults and optional props set where applicable.

TESTING

  • Lint: npx eslint components/screenshotbase passes.
  • Manual: exercised actions against a test URL and verified HTTP 200 and non-empty response.

CHECKLIST

  • Component keys follow app_slug-slugified-action-name
  • Standard directory structure
  • Secret props used for API key
  • Props documented with descriptions and defaults where possible
  • Methods/props defined in app file where appropriate
  • JSDoc added to actions
  • Version set to 0.0.1

@martechdev
Copy link
Author

All feedback addressed. Requesting review.\n\nKey updates since last review:\n- Wired optional props in Take Screenshot: wait_for_selector, omit_background\n- App test request now respects base_url with fallback to https://api.screenshotbase.com and avoids double slashes\n- Added descriptions, defaults, camelCase-to-snake_case mapping, and $.summary\n- Lint is clean per guidelines\n\nThanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants