# LINE integrations: messages and rich menus

> Send a reply message, create a rich menu and create an audience in LINE, and start a workflow when LINE sends “Message received”.

**Canonical page:** https://tray.ai/connectors/line-integrations/
**Categories:** Communication
**Connects through:** HTTP Connector

## Overview

LINE is a messaging app; its Messaging API lets a LINE Official Account send and reply to messages, manage rich menus and audiences, and read engagement stats. Tray.ai connects to LINE through the HTTP Connector, so your workflows can call the LINE API alongside the rest of your stack.

## Use cases

### Messages

Read and create messages in LINE from any Tray.ai workflow. The LINE API covers calls such as send a reply message and send a push message.

- Send a reply message
- Send a push message
- Send a multicast message

### Users

Read users in LINE from any Tray.ai workflow. The LINE API covers calls such as get a user profile and list followers.

- Get a user profile
- List followers

### Groups

Read and manage groups in LINE from any Tray.ai workflow. The LINE API covers calls such as get group member count and get group member profile.

- Get group member count
- Get group member profile
- Leave a group

### Rich menus

Read, create, update, and delete rich menus in LINE from any Tray.ai workflow. The LINE API covers calls such as create a rich menu and list rich menus.

- Create a rich menu
- List rich menus
- Set the default rich menu

### Audiences

Create, update, and delete audiences in LINE from any Tray.ai workflow. The LINE API covers calls such as create an audience and rename an audience.

- Create an audience
- Rename an audience
- Delete an audience

### Insights

Read insights in LINE from any Tray.ai workflow. The LINE API covers calls such as get delivery counts and get follower counts.

- Get delivery counts
- Get follower counts
- Get friend demographics

## Challenges Tray.ai solves

### Keeping LINE credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store LINE credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the LINE API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the LINE API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to LINE?

Yes. Tray.ai connects to LINE through the HTTP Connector, which calls the LINE API directly. Any call the LINE API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with LINE?

The LINE API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated LINE connector?

LINE runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated LINE connector from the LINE API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
