Post message in Slack Channel for operation in webMethods Developer Portal
Tags: slack, integration, tutorial, cloud
Published: 2022-10-04 09:44:02

---
title: Post message in Slack Channel for operation in webMethods Developer Portal
published: true
date: 2022-08-24 19:29:26 UTC
tags: slack, integration, tutorial, cloud
canonical_url: https://tech.forums.softwareag.com/t/post-message-in-slack-channel-for-operation-in-developer-portal/260586
---

## Summary

This article describes a business use case that will post messages to **Slack** channel for operations carried out in **webMethods Developer Portal**.

## Pre-requisites

- User should have a working [**webMethods.io**](http://webmethods.io/) Integration cloud tenant.

- User should have a working **Slack** account.

- Access to Developer Portal on the cloud tenant.

## Steps

1. Login to [**webMethods.io**](http://webmethods.io/) Integration tenant and create a Workflow.

2. Create a new project or choose an existing project.

3. Click on Import icon on the top right corner to import the workflow into your project.
![Import_workflow](https://aws1.discourse-cdn.com/techcommunity/original/3X/3/6/36b1714e777c178ccfcd132cb3e089cba13cea83.png)
4. Select the archive file “PostMsg\_DevPortalToSlackChannel.zip” shared in the article.
5. The workflow name and description are preloaded.
![Workflow_settings](https://aws1.discourse-cdn.com/techcommunity/original/3X/7/4/74101d77957ade51f77391140dcfdc1290faad3f.png)
6. Authorize **Slack** by either Default or Manual configuration.
7. Select the channel from the dropdown on successful authorization.
8. Click on “Import” to import the workflow into your project.
9. The workflow is imported successfully, enabled and ready to use.
![Workflow_enabled](https://aws1.discourse-cdn.com/techcommunity/original/3X/e/b/eb56378dc4d713abb1ac66c7eed3106c44a2d938.png)
10. Provide mandatory inputs and map the appropriate fields from the **webhook** trigger to “Post Message To Channel” step, to form a proper text message to be posted to the **Slack** channel.
![Post_message_to_channel](https://aws1.discourse-cdn.com/techcommunity/original/3X/3/f/3fbbf7a48cb98d80f4a83c509fbd856d551e2640.png)
11. Click Next and save the workflow.
12. Edit the **webhook** connector and select the proper “webhook authentication” type.
![Webhook_auth](https://aws1.discourse-cdn.com/techcommunity/original/3X/2/7/27ac44425261fef83911f22ec499426c3387e5e5.png)
13. Copy the Webhook URL and save the workflow.
14. Login to **webMethods Developer Portal.**
15. Click on profile icon then on **Administration** and go to **Webhooks** in the side navigation.
![Webhook_admin](https://aws1.discourse-cdn.com/techcommunity/original/3X/b/b/bb85ffbabc39dcae6d9480d087c7125992d40e56.png)
16. Click on “ **Create** ” button and paste the webhook URL copied from [webMethods.io](https://webmethods.io) flow into URL field.
![Webhook_admin2](https://aws1.discourse-cdn.com/techcommunity/original/3X/f/8/f8afee3538c3a3b74efaa986669215bce16aa3c7.png)
17. Select Type as “Provider” and pass the security credentials to trigger the [webMethods.io](https://webmethods.io) flow.
![Webhook_conf](https://aws1.discourse-cdn.com/techcommunity/original/3X/b/3/b37c5c30f156a8d696bf50dd755747f6e603053c.png)
18. Select the event type on which the webhook to be triggered.
![Create_webhook](https://aws1.discourse-cdn.com/techcommunity/original/3X/9/0/90fee78218bdbdcd116217b05b2cb42d48ec0ccd.png)
19. Select “Invoke Try API option” to try now and can be used for any available event type.
20. Invoke an API from the API gallery to test the workflow.
21. The webhook will trigger the workflow and message will be posted on to slack.
22. Now check the **Slack** channel for the message posted.
![Slack_message](https://aws1.discourse-cdn.com/techcommunity/original/3X/d/4/d48c199ee5efc8cc591d53625f9153254a0f8941.jpeg)

## Next steps

Would you like to carry out some operations on the webMethods Developer Portal by posting a message in Slack channel? Please follow the steps in the post: [Invoke webMethods Developer Portal REST APIs by posting a message in the Slack channel](https://tech.forums.softwareag.com/t/invoke-webmethods-developer-portal-rest-apis-by-posting-a-message-in-slack-channel/260589).

## Useful links | Relevant resources

* [PostMsg_DevPortalToSlackChannel.zip](https://tech.forums.softwareag.com/t/post-message-in-slack-channel-for-operation-in-developer-portal/260586#useful-links-relevant-resources-4)

[Read full topic](https://tech.forums.softwareag.com/t/post-message-in-slack-channel-for-operation-in-developer-portal/260586)