■Overview
Automatically obtain ChatGPT responses to posts on Slack and notify them on Slack.
■Setup Instructions
1. Integrate Slack with ChatGPT. (My App Integration)
2. Set the channel ID in the Slack operation "When a new message is posted to a channel".
3. To avoid an infinite loop of Slack app triggers and Slack message sending, set a branch to check if the string "This is a response from ChatGPT." is included.
4. In the app integration, select the conversation action with ChatGPT and set the message content.
5. In the app integration, select the Slack action "Send a message to a channel", specify the channel ID, and set the message content including "This is a response from ChatGPT.".
■Notes
・Integration settings between ChatGPT and Slack are required. Please change the linked account and setting information as appropriate.
・It is necessary to set a branch to avoid an infinite loop of Slack app triggers and Slack message sending. (By default, the branch is set with "This is a response from ChatGPT.")
・Please replace the Slack channel for notifications and the content of the notification message with any desired values.
・Using ChatGPT or OpenAI's API may incur additional costs with OpenAI. Please check OpenAI's official website for details.
・AI operations are functions (operations) available only in the Team Plan and Success Plan. In the case of the Free Plan or Mini Plan, the operations of the flow bot you have set will result in an error, so please be careful.
・Paid plans such as the Team Plan and Success Plan offer a two-week free trial. During the free trial, you can use restricted apps and AI features (operations).