convert-to-pdf
بواسطة crossservicesolutions
PDF & Documentsموجز
Convert one or multiple documents to PDF by uploading them to Cross-Service-Solutions, polling until completion.
الوصف
ما الذي تفعله هذه المهارة
Converts one or more documents to PDF by uploading them to the Cross-Service-Solutions API, polling for job completion, and returning download URLs for the resulting files. Multiple inputs produce individual PDFs and an optional ZIP archive.
Handles batch conversion of mixed file types in a single API call and bundles results into a ZIP, avoiding multiple round-trips or manual conversions.
متى تستخدمها
- Converting a Word report to PDF before sending to a client
- Batch converting presentation slides and spreadsheets to PDF in one job
- Automating PDF generation from uploaded contract drafts
- Downloading a ZIP of converted PDFs from a multi-file submission
- Integrating PDF conversion into a document processing pipeline
مثال على سير العمل
User asks: convert these three .docx files to PDF
- 1
Accept the uploaded files and retrieve the API key
- 2
POST the files to /api/31 as multipart/form-data
- 3
Receive the job ID from the response
- 4
Poll GET /api/<job_id> until status is done
- 5
Return the download URLs for each PDF and the ZIP archive
A structured result with job_id, status, per-file download URLs, and a ZIP download URL
المتطلبات
- Cross-Service-Solutions API key from https://login.cross-service-solutions.com/register
التثبيت
clawhub install crossservicesolutions/convert-to-pdfشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.