DocRaptor
Connect to DocRaptor to convert HTML to PDF and Excel documents. High-quality PDF conversion with Prince XML. Only a valid API key is required.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
DocRaptor
Credentials
DocRaptor
Connect to DocRaptor to convert HTML to high-quality PDF and Excel documents. Uses your API key from docraptor.com.
Set up in DocRaptor
Open your account dashboard (Document History page) where your API key is issued and displayed.
Copy the API key and keep it secure.
Set up in StackAI
Open Settings → Connections, add a connection, and select DocRaptor.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
API Key
Yes
Your DocRaptor API key. Find it on your account dashboard at docraptor.com/login. Use the test key 'YOUR_API_KEY_HERE' for unlimited watermarked test documents. Provider instructions.
Provider documentation: Setup reference.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Detailed setup guides
Use an action
Add the required DocRaptor action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
Create Document
Convert HTML or XML content into a PDF or Excel document using DocRaptor. Supports test mode (free, watermarked) and production documents.
Inputs
Test mode
select (string)
Yes
When On, creates a test document (unlimited, watermarked for PDFs, limited rows for Excel). When Off, uses your paid document quota. Available values: On, Off. Default: true.
Document content
textarea
Yes
HTML or XML content for DocRaptor to convert. Use HTML for PDFs; use XML for Excel (xls/xlsx).
File type
select (string)
Yes
The kind of document to create: PDF or Excel (XLS/XLSX). Available values: PDF, Excel (XLS), Excel (XLSX). Default: pdf.
File name
string
No
Optional name to identify the document in your DocRaptor logs. Also used as the download filename when provided. Default: .
Outputs
File metadata
object
The generated document file metadata.
Download URL
string
Temporary URL to download the document.
Expiration Date
datetime
When the signed URL expires.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

