View as Markdown
Adobe PDF Services icon

Adobe PDF Services ACTION

Extract Text From PDF

Extracts text element information from a PDF document and returns a JSON file within a .zip file saved to the /tmp directory. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Adobe PDF Services account once, then configure and run Extract Text From PDF from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "adobe_pdf_services-extract-text-from-pdf",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    adobe_pdf_services: { authProvisionId: "apn_xxxxxxx" },
    filePath: "File Path",
    filename: "File Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Extract Text From PDF inputs
Property Type Description
filePath File Path string
The PDF to extract from. Either a file already saved to the /tmp directory (e.g. /tmp/example.pdf) see the documentation, or a public URL to the PDF (e.g. https://example.com/example.pdf) — the URL is downloaded automatically before extraction.
Required
filename File Name string
Name of the new file to be placed in /tmp directory
Required
syncDir SyncDir dir
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
adobe_pdf_services-extract-text-from-pdf
Version
0.0.8
App
Adobe PDF Services
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes