Skip to content

LINE WORKS Incoming Webhook (Independent Publisher) #3705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"swagger": "2.0",
"info": {
"title": "LINE WORKS Incoming Webhook",
"description": "This is a custom connector for LINE WORKS Incoming Webhook",
"version": "1.0"
},
"host": "webhook.worksmobile.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/message/{webhookId}": {
"post": {
"summary": "LINE WORKS Incoming Webhook",
"operationId": "LWwebhook",
"parameters": [
{
"name": "webhookId",
"in": "path",
"required": true,
"type": "string",
"description": "Enter the ID found at the end of the Webhook URL."
},
{
"in": "body",
"name": "body",
"required": true,
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Optional. If not specified, the webhook name will be used as the title."
},
"body": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Required. Message text."
}
}
},
"button": {
"type": "object",
"required": [
"label",
"url"
],
"properties": {
"label": {
"type": "string",
"description": "To use the button, both 'label' and 'url' must be specified. If either is missing, the button will not be displayed."
},
"url": {
"type": "string",
"description": "To use the button, both 'label' and 'url' must be specified. If either is missing, the button will not be displayed."
}
}
}
}
}
}
],
"responses": {
"200": {
"description": "success"
},
"400": {
"description": "BadRequest"
},
"429": {
"description": "Too Many Requests"
},
"default": {
"description": "error occurred"
}
}
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "iwaohig",
"stackOwner": "LINE WORKS corp."
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## LINE WORKS Incoming Webhook Connector

This connector allows you to send messages to LINE WORKS chat rooms through the LINE WORKS Incoming Webhook app.

You can send a message with a title and body, and optionally include a link button with a specified URL.

## Publisher : iwaohig

## Prerequisites

Before using this connector, ensure that the LINE WORKS Incoming Webhook App is installed in your LINE WORKS tenant. For detailed installation instructions, please refer to the documentation at the following URL:

https://developers.worksmobile.com/jp/docs/webhook

## Obtaining Credentials

This connector does not require authentication. Identification is done through the webhookId, which is specified in the webhook URL.

## Supported Operations
This connector supports the following operation:

Send Message: Sends a message to LINE WORKS chat rooms through the LINE WORKS Incoming Webhook app. This operation uses the specified webhookId to identify the target chat room.

## Known Issues and Limitations
N/A