■Overview
・Automatically notify a Slack channel when a specific record in kintone is edited.
・Information can be automatically disseminated without accessing kintone or Slack.
・Notification content can be customized with any message or edited content for display on Slack.
■Setup Instructions
① Select the app trigger from the trigger options, choose "When a record is edited in kintone (Webhook trigger)," and perform the following settings and save.
・Copy the Webhook URL and set up the Webhook on the kintone side.
・Edit a demo record, return to the Yoom trigger settings screen, and test to confirm if the request was successful.
※ It is recommended to use the Webhook trigger, which has a small time lag between record registration or update and trigger activation.
※ For kintone Webhook settings, please refer to here.
② Press the + mark under the trigger, select kintone from the operations that manipulate the database, and perform the following settings, test, and save.
・App ID: Enter the same kintone app ID as in ① (or select from the options).
・Action: Select "Retrieve record."
・Search condition: Set "Record number equals" and embed the record ID obtained in ① as {{Record ID}}.
※ For details on dynamically embedding output, please refer to here.
③ Press the + mark, select Slack from the operations that integrate with apps, and perform the following settings, test, and save.
・Action: Select "Send a message to a channel."
・Channel ID to post to: Select the specified channel ID from the options.
・Message content: Enter any message. You can also embed the output of the kintone record information obtained in ②.
■Notes
・Integration settings with accounts are required for both kintone and Slack.
※ For registering My Apps, please refer to here.
・Please replace the notification content and the channel ID to post to in Slack with any desired values.