Click on "When a message is sent to a channel" in the app trigger.

(2) From the "Select Integration Account and Action" screen in Microsoft Teams, check for any errors in the account information integrated with Microsoft Teams, keep the trigger action as "When a message is sent to a channel," and click "Next."

(2) From the "App Trigger API Connection Settings" screen, select the trigger activation interval.
Select the trigger activation interval from the dropdown menu with options of 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes.
※ Please note that the shortest trigger activation interval varies depending on the plan.

Scroll down and select the team ID and channel ID from the candidates.

Once the selection is complete, click "Test" at the bottom, and if no errors occur, click "Save."
Step 3: Use AI Features to Extract Data from Text
(1) Next, use AI features to extract data from text.
Click on "Extract Data from Text."

(2) Click "Change" from the "Select Action" screen.

Select the conversion type according to the number of characters in the text.

Once the selection is complete, click "Next."
(3) From the "Set Details" screen, enter the text to be extracted.
By selecting from the output as shown in the image, you can reference Microsoft Teams information.

Scroll down and directly enter the items you want to extract, confirming with the red line.
Once the input is complete, click "Test," and if no errors occur, click "Save" at the bottom.

Step 4: Integrate with Salesforce to Search Account Object Records and Register Activity History
(1) Next, integrate with Salesforce to search account object records.
Click on "Search Account Object Records."

(2) From the "Select Integration Account and Action" screen in Salesforce, check for any errors in the account information integrated with Salesforce, keep the action as "Search Account Object Records," and click "Next."

(3) From the "API Connection Settings" screen, confirm with the red line and enter the search field name, My Domain URL, and fields to be retrieved.
Select values from the output.

Once the input is complete, click "Test," and if no errors occur, click "Save" at the bottom.
(4) Next, register activity history in the account object.
Click on "Register Activity History in Account Object."

(5) From the "Select Integration Account and Action" screen, check for any errors in the account information integrated with Salesforce, keep the action as "Register Activity History in Account Object," and click "Next."

(6) From the "API Connection Settings" screen, confirm with the red line and enter the My Domain URL.
- My Domain URL: Direct input
- Account ID: Select from output
- Subject: Select from output
- Date: Select from date

Scroll down and select the priority from the dropdown menu.
The content entered in the comments will be registered in Salesforce.
By using the output, you can reference Microsoft Teams information.

Once the input is complete, click "Test," and if no errors occur, click "Save" at the bottom.
(7) Finally, click "Turn on Trigger."

This completes the flow bot "Register Activity History in Salesforce When a Message is Posted in Microsoft Teams."