← Back to guides

n8n + Agent Media Tools: Automate Media Workflows

Updated July 13, 2026 · 6 min read

n8n is a powerful workflow automation tool. By connecting it to Agent Media Tools, you can build automated pipelines that process images, generate PDFs, scrape websites, transcribe audio, and more — triggered by webhooks, schedules, or events.

⚡ Example workflow: Webhook receives an image → auto-resize → convert to WebP → upload to storage. All in under 10 HTTP nodes.
Importable recipes: free UUID, free JSON format, and a JSON-body screenshot webhook are available on the integrations page. Import, attach Header Auth where needed, and run a manual test first. Multipart image-upload templates stay unpublished until verified on a pinned n8n version — use the manual HTTP setup below for those.
Ready-made workflow JSON (download):

Also see first-win templates for the product path: free success → schedule on Pro.

Setup

1. Get an API key

Sign up at agentmediatools.com and create an API key from your account dashboard.

2. Add an HTTP Request node in n8n

Add a new HTTP Request node with these settings:

SettingValue
MethodPOST (or GET for read-only endpoints)
URLhttps://agentmediatools.com/api/agent/scrape (or any endpoint)
AuthenticationHeader Auth → Authorization: Bearer mt_your_key_here
BodyJSON — depends on the endpoint

Workflow Examples

Webhook → Screenshot → Save

  1. Webhook node — receive a URL
  2. HTTP Request — POST https://agentmediatools.com/api/screenshot
    {
      "url": "{{ $json.body.url }}",
      "width": 1280,
      "full_page": true,
      "format": "png"
    }
    Set Response Format to File.
  3. Save to disk / S3 / Google Drive — store the returned image

Auto-Resize Incoming Images

  1. Webhook — receive image via multipart upload
  2. HTTP Request — POST https://agentmediatools.com/api/resize-image
    Send as Form-Data with field image (file from step 1) plus width: 800, format: webp
  3. HTTP Request — download the resized file from the returned downloadUrl

Daily PDF Report from Web Pages

  1. Schedule — cron trigger (e.g., daily at 9 AM)
  2. HTTP Request — POST https://agentmediatools.com/api/html-to-pdf
    {
      "url": "https://your-dashboard.com/report",
      "width": 1280,
      "full_page": true
    }
  3. Email — send the PDF as an attachment

Audio → Transcription Pipeline

  1. Webhook — receive audio file or URL
  2. HTTP Request — POST https://agentmediatools.com/api/transcribe
    Send as Form-Data with audio field, or JSON with url field
  3. Set — extract the transcription text
  4. Notion / Google Sheets — save the result

Complete Endpoint Reference

EndpointMethodWhat It Does
/api/screenshotPOSTFull-page or viewport screenshot
/api/html-to-pdfPOSTConvert web page to PDF
/api/resize-imagePOSTResize an uploaded image
/api/convert-imagePOSTConvert image format
/api/compress-imagePOSTCompress image
/api/merge-pdfPOSTMerge multiple PDFs
/api/transcribePOSTTranscribe audio to text
/api/qrcodePOSTGenerate QR code
/api/pastePOSTCreate a paste
/api/shortenPOSTShorten a URL
/api/uuidGETGenerate UUID
/api/ipGETGet public IP

See the full API docs for all 70+ endpoints.

Tips for n8n

🔑 Get your free API key → agentmediatools.com