Let's assume you're creating a function that allows your Zoho Sprints application to interact with Slack. Slack is an external office communication service. Your function enables you to post messages on Slack at the trigger of events like closing a work item, reopening a work item, starting a sprint, and more. Let's say an item is closed and at the item of that closure a notification is sent to your team on the Slack channel that is available for your sprint team.
To achieve this, you need to create a connection for Slack. This connection ensures that all security protocols are adhered to and the interaction between the two applications happen in a safe manner. So, you will:
- Create a connection for the Slack service with the scopes "chat:write:bot".
- Find 'slackconnection' & replace it with the connection name you've provided.
- Configure valid slack channel ID in "channelId" custom parameters.
- Disable Use Credentials of Login User and create the connection.
Once you create the connection you will be able to perform various actions like add records, fetch records, and search for records from the connected cloud service.