Avoid Einstein Bot Transfer agent Chats are transferring to non queue members - salesforce

My requirement is to Transfer chats from Bot to Agent ,who are in the Queue only.
I have implemented Einstein chat bot with Transfer to agent to a Queue.
Have Used Rule actions and Routing configs in Einstein bot.
In Chat Button & Invitations i Used Queue -Most Available option.
This resulting Transfer to Agent chats are going to the All users who are available /open to take chats up.
But i don't want that ,i need only Queue members should only be considered. Everything Classic version so far?

Related

Direct to agent routing from standard Einstein bot in Salesforce

We have a requirement to directly route the chat from Einstein bot to a specific agent linked with the Case when the user clicks on Transfer menu and Einstein bot only supports bot/queue/skill transfer. We have tried a lot of things, including Apex class call to create/update PSR and Agentwork records but nothing seems to work. Has anybody done this? Any ideas would be much appreciated, Thanks
Called an Apex class to intercept the transfer by the bot and created/updated PSR and Agentwork records in that class to route to a specified PreferredUserId

Getting User profile connections with a bot account

I'm trying to add a feature to my Discord bot: when my Twitch account gets a new follower, and if the follower's Twitch account is linked to his Discord account, when he gets into my server he's getting automatically a new role.
So my question is: can I get the Discord's linked apps of a user, and get the user ID linked to those apps?
Like getting the Twitch's user ID of the new follower and compare it with with the Discord's linked Twitch user ID of the users of my channel using Discord.js?
At the moment, the API doesn't allow fetching the profile (and so its connections) from a bot account. The discord.js library has a method to do this (User.fetchProfile()), but it will only work on self-bots (Discord can ban you for using them).
Discord Dream Land has an active idea on this topic: link

Hangouts Chat Pub/Sub Bot only receiving Mentions in Room

We are building our first bot for Hangouts Chat to support JIRA Server (https://github.com/seibert-media/hangouts-jira-bot) and I had to notice that Events in Google PubSub only get sent when the bot receives a direct message or get's mentioned in a room, but not for every room message.
Is this intended behavior or are we doing something wrong.
This is the current intended behavior for Hangouts Chat. There is no way to have any sort of RTM socket, so everything in Hangouts Chat is currently event driven by #mentioning or dming a bot.

How to get list of all the servers to which discord owner is connected

Is there any API to get list of all the servers to which the discord owner(user) is connected.
I want to write a bot to manage all the servers connected to discord owner's account.
As Jeremy mentioned you can use  https://discordapp.com/developers/docs/resources/user#get-current-user-guilds if logged in as the user you're trying to get guilds of. A total list of Guilds isn't possible to get for other users though, you'll only get mutual/shared guilds displayed for others.

XMPP/jabber client help

I want to develop a chat application with floowing features
1)user A visits website clinks on
chat .
2)Website picks another user B who
is single(who is not paired) and
pairs him with A.
3)Now A and B can chat till they
want.
Now here neight A or B are registered member of website.Neight they ave any accouunt.
Can i develop such things using jabber/XMPP on appengine ??If yes how??please provide some pointers so that i can start off.
This kind of app is absolutely possible on App Engine, using XMPP, but you won't be able to have them talk directly to eachother, only to your app. You can then "bounce" messages from User A to User B via your bot.
1.) A user visits site, enters their jabber ID (or you could have them log in). You would need to store this JID in the datastore
2.) Another user visits the site, enters JID, and you pick some random existing "single" JID.
3.) Mark both of the JIDs as "connected" and send each a message to start chatting.
4.) At this point, your app can receive messages from the first user, and send them to the second user, and vice versa. This will also help reduce spam and privacy issues, since users won't need to give their actual JID to a stranger.
As for pointers, the App Engine docs are a good place to start, specifically the section on XMPP (Java / Python).

Resources