# Is there a conversations.setTopic for Slack Notification plugin?

**URL:** <https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171>\
**Category:** Using Jenkins\
**Tags:** question\
**Created:** [January 2, 2023, 4:08am UTC](https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171 "2023-01-02T04:08:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chmod000chmod](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@chmod000chmod](https://community.jenkins.io/u/chmod000chmod)\
**Post date:** [January 2, 2023, 4:08am UTC](https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171/1 "2023-01-02T04:08:08Z")

</div>

I’ve been looking at the slackSend function that’s part of the Slack Notification plugin, however I was unable to find a way to change the topic of a channel. Is there a way to do this with Jenkins?

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [January 2, 2023, 4:26am UTC](https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171/2 "2023-01-02T04:26:24Z")

</div>

Via the plugin probably not. But slack APIs are simple http posts. You can probably just call curl or use the http requests plugin.

> **[conversations.setTopic API method](https://api.slack.com/methods/conversations.setTopic)**
>
> Sets the topic for a conversation.

---

<div class="post-metadata">

**Author:** ![chmod000chmod](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@chmod000chmod](https://community.jenkins.io/u/chmod000chmod)\
**Post date:** [January 2, 2023, 4:30am UTC](https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171/3 "2023-01-02T04:30:28Z")

</div>

Thanks!

I am fairly new at this, I was wondering, are there any examples in regards to using http posts with the Slack API for the conversations.setTopic method?

I was checking online, but was unable to find one example that clearly stated this.

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [January 2, 2023, 5:01am UTC](https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171/4 "2023-01-02T05:01:57Z")

</div>

As a general rule I expect effort before providing help.

> **[HTTP Request](https://plugins.jenkins.io/http_request/)**
>
> This plugin sends a http request to an url with some parameters

[![](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/b/bd78df4bb1b14b60dbb6b2e6cceec2278a5fa229.jpeg "How to Run the Curl Command in a Jenkins Pipeline") ](https://www.youtube.com/watch?v=IiPZdNzBIfg)

> **[HTTP requests from Jenkins pipelines](https://lzone.de/blog/HTTP-requests-from-jenkins-pipeline)**
>
> This post provides a summary of the possibilities to perform HTTP requests from a Jenkins pipeline.

---

<div class="post-metadata">

**Author:** ![chmod000chmod](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@chmod000chmod](https://community.jenkins.io/u/chmod000chmod)\
**Post date:** [January 2, 2023, 5:03pm UTC](https://community.jenkins.io/t/is-there-a-conversations-settopic-for-slack-notification-plugin/5171/5 "2023-01-02T17:03:53Z")

</div>

Thanks a lot for the link. I understand that some work should have been done before asking this question. I will give this a shot and provide an update should something went awry with some work behind it.
