Create, convert, transform, OCR PDFs and more.
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
Add or update a single record in your Pipedream Data Store.
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
Add or update multiple records to your Pipedream Data Store.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
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,
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})