Integrating Slack into your domino applications is quite straight forward and we can actually reuse the same code as for Microsoft Teams. But first lets see what you need to do in your slack channel.
And select add an app

And Select Build in the top right corner and start building.
Now you can create your application and select the channel for it.

Next step is to active incoming webhooks

You will now get a unique post URL for this Slack channel when you want to post application messages.
Now over to Domino designer
- Create a Lotusscript agent
- Add the following code
Dim session As New notessession
Dim SlackURL As String,Body As String,Message as string
message="Domino 10 Talks"
SlackURL="<Paste the Slack URL here>"
Dim http As NotesHTTPRequest
Set http=session.CreateHTTPRequest()
Body=|{"text":"|+Message+|"}|
Call http.SetHeaderField("ContentType","application/json")
Call http.Post(SlackURL,Body)
This is how you simply post messages to a slack channel with Domino 10. Check out how to post to Microsoft teams if you haven’t