• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

New Slack integration issue - posting as bot agent returns "channel not found"

Status
Not open for further replies.

jonbstrong

Member
I have been previously been able to post as a bot using the Slack legacy integration

1632175144298.png

i.e. this works fine

1632175281303.png



However, using the new Slack integration with the "bot" token type I am no longer able to post to this channel
1632175208256.png

Is this a bug or is it only possible to post as a bot to public channels with the new Slack integration?
 

Supreme

Well-known member
Staff member
Hey @jonbstrong

We checked over your query and tested the "Send Channel Message(Without Image)" and it is working fine. It seems like you are using the private channel to pass the message with the bot token type.

But if you want to send messages on a private channel, then you have to use the user token type while connecting to Slack.

Here is the Slack Authorization Tokens documentation where you can check how and on which action event type, you can use "bot" or "user" token type - https://forum.pabbly.com/threads/slack-authorization-tokens.1562/

Further for better understanding, please check out the short recorded video for better understanding - - https://www.screenpresso.com/=Jdf9d
 
Last edited by a moderator:

jonbstrong

Member
Right, so as I described, previously with the legacy integration I was able to post bot messages to private channels.

So it looks as though the new integration is more limited - if that's the way it's supposed to work, fine!
 

Supreme

Well-known member
Staff member
Hey @jonbstrong

We looked into the slack API and found that if you haven't invited the bot to the channel, then a bot can't post in a private channel. If it's not a member - you need to invite it to the channel like you would a person.

Besides, for more information and to understand the process please check out the following recorded video.

- https://www.screenpresso.com/=b39Wf
 
Status
Not open for further replies.
Top