Get Bot Info

line.get_bot_info
ActionChat & messagingconnection required

Calls the LINE API with the connection's credentials.

Read this channel's own bot profile and chat settings.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
LINE
Secret shape
{"access_token": "…the channel access token…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

This node takes no configuration beyond its connection.

Output

One shape.

result

FieldTypeExample
userId
The bot's own user id.
string—
basicId
The bot's basic id, as shown to users.
string—
premiumId
The bot's premium id, when one is set.
string—
displayName
The bot's display name.
string—
pictureUrl
The bot's profile image URL, when it has one.
string—
chatMode
'chat' when chat is on, 'bot' when it is off.
string—
markAsReadMode
'auto' or 'manual' auto-read setting.
string—
{
  "basicId": "",
  "chatMode": "",
  "displayName": "",
  "markAsReadMode": "",
  "pictureUrl": "",
  "premiumId": "",
  "userId": ""
}

See Get Bot Info run in a workflow.

In a technical demo we add the LINE connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.