Skip to main content

Overview

Advanced Input Tools provide specialized input capabilities for handling different types of data sources including webhooks, Slack events, Twilio SMS/MMS, 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 (plain text, CSV, JSON, XML, YAML, HTML)
  • Returns the file content as text
  • Accepts a single URL or an array of URLs

INPUT_TWILIO_SMS

  • Receive incoming SMS and MMS messages via Twilio webhooks
  • Supports text messages and media attachments (images, videos, PDFs)
  • Requires configuring your Twilio phone number to send webhooks to your Jinba Flow URL
  • See the Twilio page for details

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