The Adobe PDF Services API provides a robust set of tools for manipulating and managing PDF files. With this API, you can create, convert, combine, export, and manipulate PDFs directly in Pipedream. The Pipedream platform enables you to build automated workflows that can interact with this API to streamline document-centric processes, such as generating reports, archiving files, or extracting data from PDFs into other formats.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adobe_pdf_services: {
type: "app",
app: "adobe_pdf_services",
}
},
async run({steps, $}) {
const data = {
"mediaType": `application/pdf`,
}
return await axios($, {
method: "post",
url: `https://pdf-services.adobe.io/assets`,
headers: {
Authorization: `Bearer ${this.adobe_pdf_services.$auth.oauth_access_token}`,
"x-api-key": `${this.adobe_pdf_services.$auth.client_id}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Automated Invoice Processing: Collect invoices as PDFs from an email or a web form, use Adobe PDF Services to extract text and data, and then store the extracted data in a database like Google Sheets or Airtable for easy tracking and analysis.
Document Conversion Pipeline: Monitor a Dropbox or Google Drive folder for new documents, convert them into PDFs using Adobe PDF Services, and then upload the PDFs to a designated cloud storage location or send them via email to relevant stakeholders.
PDF Generation for Analytics Reports: After a scheduled time, gather analytics data from sources like Google Analytics, compile the data into a templated PDF report using Adobe PDF Services, and distribute the report to a Slack channel or via email to your team.
Extracts text and table element information from a PDF document and returns a JSON file along with table data in XLSX format within a .zip file saved to the /tmp
directory. See the documentation
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
Adobe PDF Services uses OAuth authentication. When you connect your Adobe PDF Services account, Pipedream will open a popup window where you can sign into Adobe PDF Services and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Adobe PDF Services API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://pdf-services.adobe.io/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
POST
https://pdf-services.adobe.io/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}