Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
PDF → Metadata
AI-generatedOverview
This node operation allows users to either retrieve or edit metadata of PDF files. It supports inputting the PDF via a public URL or a buffer. When editing metadata, users can specify new values for the PDF's title, author, subject, keywords, and filename. Additionally, users can choose whether to get the resulting PDF as a URL. This operation is useful for workflows that require managing PDF metadata, such as updating document properties before distribution or extracting metadata information for cataloging.
Use Case Examples
- A user wants to update the title and author metadata of a PDF before sending it out.
- A user needs to extract metadata information from a PDF file hosted at a public URL for indexing purposes.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows defining variables used in code for the selected function, useful for dynamic metadata editing. |
| Metadata | Choose whether to edit metadata or get PDF metadata information. |
| URL | Public URL of the PDF file to process. |
| Buffer | Buffer of the PDF file to process. |
| Get File as URL | Whether to return the resulting PDF as a URL when editing metadata. |
| Filename | Filename of the PDF when editing metadata. |
| Title | New title to set in the PDF metadata. |
| Author | New author to set in the PDF metadata. |
| Subject | New subject to set in the PDF metadata. |
| Keywords | New keywords to set in the PDF metadata. |
Output
JSON
metadatatitle- Title metadata of the PDF.author- Author metadata of the PDF.subject- Subject metadata of the PDF.keywords- Keywords metadata of the PDF.
fileName- Filename of the PDF file.url- URL of the PDF if requested as URL output.
Dependencies
- An API key credential for the CodeKit API
Troubleshooting
- Ensure the PDF URL or buffer is correctly provided and accessible.
- When editing metadata, verify that required fields like filename and metadata fields are correctly set.
- If the node throws errors related to API requests, check the API key credential and network connectivity.