← Go back to library

Convert a PDF or image to text

Extract text from a PDF document or image using OCR. ``` { "properties": { "reference": { "type": "integer", "description": "An internal reference ID to a file to be processed" }, "file": { "type": "object", "description": "A file to be processed", "properties": { "filename": { "type": "string", "description": "The name of the file" }, "content_type": { "type": "string", "description": "The MIME type of the file" }, "base64encodedcontents": { "type": "string", "description": "The contents of the file in Base64 encoded format" } }, "required": ["filename","base64encodedcontents"] } }, "oneOf": [ {"required":["reference"]}, {"required":["file"]} ] } ```

How it works

Import this story to your tenant, from where you can adapt it to meet your unique needs.

Import
Was this story helpful?