Configure your LINE channel to send messages, manage webhooks, and interact with LINE users from your Jinba Flow workflows.

Prerequisites

  • A LINE account
  • Access to LINE Developers Console

Creating a LINE Channel

  1. Visit the LINE Developers Console
  2. Sign in with your LINE account
  3. Click “Create a new channel”
  4. Choose “Messaging API” as the channel type
  5. Fill in the required information:
    • Channel name: A name for your channel
    • Channel description: Brief description of your bot
    • Category: Select an appropriate category
    • Subcategory: Choose a relevant subcategory
  6. Click “Create”

Configuring Your LINE Channel

Basic Settings

  1. In your channel settings, go to the “Basic” tab
  2. Note your Channel ID and Channel Secret (you’ll need these later)
  3. Upload a channel icon (optional)
  4. Add a channel description

Messaging API Settings

  1. Go to the “Messaging API” tab
  2. Note your Channel Access Token (you’ll need this later)
  3. Set up your webhook URL (if needed for receiving messages)
  4. Enable “Use webhook” if you want to receive messages

QR Code and Add Friends

  1. In the “Messaging API” tab, find the QR code
  2. Users can scan this QR code to add your bot as a friend
  3. Alternatively, you can create a “Add friends” URL

Setting Up in Jinba Flow

  1. Go to your workspace settings in Jinba Flow
  2. Navigate to the “Secret” section
  3. Find “LINE” in the list of available credentials
  4. Click “Configure” or “Add New”
  5. Enter your LINE channel credentials:
    • Channel ID: From your LINE channel’s Basic settings
    • Channel Secret: From your LINE channel’s Basic settings
    • Channel Access Token: From your LINE channel’s Messaging API settings
  6. Click “Save” to store your credentials

Webhook Configuration (Optional)

If you want to receive messages from LINE users:
  1. In your LINE channel’s “Messaging API” settings
  2. Enable “Use webhook”
  3. Set the webhook URL to your Jinba Flow webhook endpoint
  4. Verify the webhook URL is accessible from LINE’s servers

Usage

Once configured, you can use LINE in your flows to:
  • Send text messages to users
  • Send rich messages (images, videos, audio, files)
  • Send location messages
  • Send sticker messages
  • Send template messages (buttons, carousel, etc.)
  • Get user profile information
  • Respond to user messages via webhook

Message Types

Text Messages

  • Simple text messages
  • Support for emoji and Unicode characters

Rich Messages

  • Image messages: Send images with preview text
  • Video messages: Send videos with preview text
  • Audio messages: Send audio files
  • File messages: Send any file type

Template Messages

  • Button template: Text with action buttons
  • Confirm template: Yes/No confirmation
  • Carousel template: Multiple items with images and buttons
  • Image carousel template: Multiple images with buttons