Overview
Advanced Input Tools provide specialized input capabilities for handling different types of data sources including webhooks, Slack events, image files, and text files. These tools are essential for building comprehensive workflows that integrate with external systems.Key Features
INPUT_WEBHOOK
- Receive webhook requests from various services
- Handle HTTP POST requests to your publishable URL
- Parse JSON and form data automatically
- Essential for API integrations
INPUT_SLACK_EVENT
- Receive Slack App event subscriptions
- Handle real-time Slack workspace events
- Process messages, reactions, and user interactions
- Requires Slack App configuration
INPUT_IMAGE_FILE
- Input image files from direct download URLs
- Convert images to base64-encoded strings
- Support for various image formats
- Optimized for AI processing workflows
INPUT_FILE_AS_TEXT
- Input text files from URLs
- Support for multiple text formats (CSV, JSON, XML, YAML, HTML)
- Return presigned URLs for file access
- Automatic encoding detection
Setup Instructions
Note: INPUT_ tools are crucial for MCP (Model Context Protocol) and API integrations. Their IDs must match exactly in your MCP configuration and API endpoints.Example: Webhook Processing Workflow
Example: Slack Event Processing
Example: Image Analysis Pipeline
Example: Text File Processing
Example: CSV Data Import
File Format Support
INPUT_FILE_AS_TEXT Supported Formats:
- text/plain: Plain text files (.txt)
- text/csv: Comma-separated values (.csv)
- text/html: HTML documents (.html)
- text/xml: XML documents (.xml)
- text/json: JSON files (.json)
- text/yaml: YAML configuration files (.yml, .yaml)
Use Cases
- API Integration: Receive data from external services via webhooks
- Real-time Processing: Handle Slack events and notifications
- Image Processing: Analyze images with AI models
- Document Processing: Handle text files and documents
- Event-driven Workflows: Trigger workflows based on external events