Rebot
Start a flow when Rebot or a LINE integration emits a LINE event
Triggers
Events from this node that can start a flow. Add one from Choose a trigger.
Inflow Route Acquired
Triggered when a LINE user is acquired through an inflow route
Settings
No settings.
Output
Later steps use this data through Current Trigger in the $ picker. For example, cid is $trigger.output.cid.
{
"cid": 0,
"app": "string",
"user_id": "string",
"label": "string",
"label_id": 0
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
cid | Number | Rebot channel ID |
app | Text | Rebot app name |
user_id | Text | LINE user ID of the end user |
label | Text | Name of the inflow route label |
label_id | Number | ID of the inflow route label |
LINE Follow
Triggered when a LINE user follows the LINE integration's official account
Settings
No settings.
Output
Later steps use this data through Current Trigger in the $ picker. For example, event is $trigger.output.event.
{
"event": {},
"user": {}
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
event | Object | LINE webhook event |
event.type | Text | LINE event type: follow or unfollow |
event.destination | Text | User ID of the bot that received the event |
event.replyToken | Text | Token for replying to the event (follow only) |
event.source | Object | Source of a LINE webhook event |
event.source.type | Text | Source type, e.g. user |
event.source.userId | Text | LINE user ID of the end user |
event.timestamp | Number | Time of the event in milliseconds |
event.sentAt | Text | Time of the event as an ISO 8601 string |
event.mode | Text | Channel state: active or standby |
event.webhookEventId | Text | ID of the webhook event |
event.deliveryContext | Object | Delivery details of a LINE webhook event |
event.deliveryContext.isRedelivery | Yes / No | Whether the webhook event is a redelivery |
event.follow | Object | Follow details of a LINE follow event |
event.follow.isUnblocked | Yes / No | Whether the user unblocked the account rather than adding it for the first time |
user | Object | LINE profile of the end user (userId only on unfollow) |
user.userId | Text | LINE user ID of the end user |
user.displayName | Text | LINE display name |
user.pictureUrl | Text | Profile image URL |
user.statusMessage | Text | Status message |
user.language | Text | Language of the user |
LINE Unfollow
Triggered when a LINE user blocks the LINE integration's official account
Settings
No settings.
Output
Later steps use this data through Current Trigger in the $ picker. For example, event is $trigger.output.event.
{
"event": {},
"user": {}
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
event | Object | LINE webhook event |
event.type | Text | LINE event type: follow or unfollow |
event.destination | Text | User ID of the bot that received the event |
event.replyToken | Text | Token for replying to the event (follow only) |
event.source | Object | Source of a LINE webhook event |
event.source.type | Text | Source type, e.g. user |
event.source.userId | Text | LINE user ID of the end user |
event.timestamp | Number | Time of the event in milliseconds |
event.sentAt | Text | Time of the event as an ISO 8601 string |
event.mode | Text | Channel state: active or standby |
event.webhookEventId | Text | ID of the webhook event |
event.deliveryContext | Object | Delivery details of a LINE webhook event |
event.deliveryContext.isRedelivery | Yes / No | Whether the webhook event is a redelivery |
event.follow | Object | Follow details of a LINE follow event |
event.follow.isUnblocked | Yes / No | Whether the user unblocked the account rather than adding it for the first time |
user | Object | LINE profile of the end user (userId only on unfollow) |
user.userId | Text | LINE user ID of the end user |
user.displayName | Text | LINE display name |
user.pictureUrl | Text | Profile image URL |
user.statusMessage | Text | Status message |
user.language | Text | Language of the user |