Index released PDF manuals from Amazon S3 in Qdrant
Turn each released manual into searchable passages using Doctly and LocalAI, with the file revision recorded on every result.
30 stepsOperationsProduct and engineering
Free to start, no card required.
How it works

When this happens
Amazon S3 detects a released manual
Amazon S3
Step 1 · Code
Identify the manual edition
Step 2
Check the public manual prefix
Follows the first path that matches
Released PDF
Step 3 · Storage
Check the edition index receipt
Step 4
Check whether this revision is indexed
Follows the first path that matches
New edition
Step 5 · Storage
Check for a previous conversion job
Step 6
Check whether the PDF needs conversion
Follows the first path that matches
Start a conversion

Step 7 · Amazon S3
Download the released PDF
Step 8 · Doctly AI
Extract the manual as Markdown
Step 9 · Code
Verify the conversion job reference
Step 10 · Storage
Keep the conversion ID for retries
Otherwise
Nothing happens
Step 11 · Storage
Read the saved conversion ID
Step 12
Poll until the PDF is converted
Step 13 · Storage
Check whether conversion finished
Step 14
Check whether a status read is needed
Follows the first path that matches
Conversion pending
Step 15 · Doctly AI
Read the conversion status
Step 16 · Code
Inspect the current document state
Step 17
Check whether Markdown is available
Follows the first path that matches
Text ready
Step 18 · Storage
Mark the converted edition as ready
Otherwise
Step 19 · Delay
Wait before checking again
Otherwise
Nothing happens
Repeats for every item
Step 20 · Doctly AI
Read the converted manual

Step 21 · Amazon S3
Recheck the published file revision

Step 22 · Qdrant
Read the target vector dimensions
Step 23 · Code
Split the verified manual into passages
Step 24
Check that the edition still matches
Follows the first path that matches
Edition unchanged
Step 25 · LocalAI
Embed the passages with LocalAI
Step 26 · Code
Build passage records with citations

Step 27 · Qdrant
Upsert the entire manual edition
Step 28 · Code
Verify that Qdrant finished the write
Step 29 · Storage
Save the completed edition receipt
Otherwise
Nothing happens
Otherwise
Nothing happens
Otherwise
Nothing happens
Before you start
Choose the same Amazon S3 release prefix in the trigger and setup, and use a new file key for every public PDF edition up to 8 MB and 80,000 text characters. Connect Doctly and enter the bucket name, LocalAI embedding model and Qdrant collection in setup. Use a collection dedicated to this model with one unnamed cosine vector.
Similar templates
See all 419 in Operations- Check Segment identity delivery in PostHogSend a dated test trait through Segment and check whether it appears on the exact PostHog profile within ten minutes.Uses Schedule, Storage, Segment, Delay, PostHog9 steps · Operations
- Archive daily policy page captures from Rendex in S3Capture a public policy page each day with Rendex and save a dated full-page screenshot to a private S3 bucket.Uses Schedule, Storage, Rendex, Amazon S39 steps · Operations
- Track Typeform survey scores in Microsoft Excel 365Add the submission ID, date and numeric score to a feedback table, including scores of zero.Uses Typeform, Delay, Storage, Microsoft Excel 36511 steps · Customer support
Your first automationstarts with one sentence.
Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.