๐Ÿ”ฌ Convert and manipulate PDFs with Api2Pdf and AWS Lambda

โšก 484 views ยท ๐Ÿ”ฌ Document Extraction & Analysis

Description

Complete MCP server exposing 9 Api2Pdf - PDF Generation, Powered by AWS Lambda API operations to AI agents.

โšก Quick Setup

Need help? Want access to more workflows and even live Q&A sessions with a top verified n8n creator.. All 100% free?

Join the community

  1. Import this workflow into your n8n instance
  2. Credentials Add Api2Pdf - PDF Generation, Powered by AWS Lambda credentials
  3. Activate the workflow to start your MCP server
  4. Copy the webhook URL from the MCP trigger node
  5. Connect AI agents using the MCP URL

๐Ÿ”ง How it Works

This workflow converts the Api2Pdf - PDF Generation, Powered by AWS Lambda API into an MCP-compatible interface for AI agents.

โ€ข MCP Trigger: Serves as your server endpoint for AI agent requests โ€ข HTTP Request Nodes: Handle API calls to https://v2018.api2pdf.com โ€ข AI Expressions: Automatically populate parameters via $fromAI() placeholders โ€ข Native Integration: Returns responses directly to the AI agent

๐Ÿ“‹ Available Operations (9 total)

๐Ÿ”ง Chrome (3 endpoints)

โ€ข POST /chrome/html: Convert raw HTML to PDF โ€ข GET /chrome/url: Convert URL to PDF โ€ข POST /chrome/url: Convert URL to PDF

๐Ÿ”ง Libreoffice (1 endpoints)

โ€ข POST /libreoffice/convert: Convert office document or image to PDF

๐Ÿ”ง Merge (1 endpoints)

โ€ข POST /merge: Merge multiple PDFs together

๐Ÿ”ง Wkhtmltopdf (3 endpoints)

โ€ข POST /wkhtmltopdf/html: Convert raw HTML to PDF โ€ข GET /wkhtmltopdf/url: Convert URL to PDF โ€ข POST /wkhtmltopdf/url: Convert URL to PDF

๐Ÿ”ง Zebra (1 endpoints)

โ€ข GET /zebra: Generate bar codes and QR codes with ZXING.

๐Ÿค– AI Integration

Parameter Handling: AI agents automatically provide values for: โ€ข Path parameters and identifiers โ€ข Query parameters and filters โ€ข Request body data โ€ข Headers and authentication

Response Format: Native Api2Pdf - PDF Generation, Powered by AWS Lambda API responses with full data structure

Error Handling: Built-in n8n HTTP request error management

๐Ÿ’ก Usage Examples

Connect this MCP server to any AI agent or workflow:

โ€ข Claude Desktop: Add MCP server URL to configuration โ€ข Cursor: Add MCP server SSE URL to configuration โ€ข Custom AI Apps: Use MCP URL as tool endpoint โ€ข API Integration: Direct HTTP calls to MCP endpoints

โœจ Benefits

โ€ข Zero Setup: No parameter mapping or configuration needed โ€ข AI-Ready: Built-in $fromAI() expressions for all parameters โ€ข Production Ready: Native n8n HTTP request handling and logging โ€ข Extensible: Easily modify or add custom logic

> ๐Ÿ†“ Free for community use! Ready to deploy in under 2 minutes.

๐Ÿ”— Nodes Used

MCP Server Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup