Skip to main content

Messengers

A messenger connection lets people talk to one of your AI agents from outside the portal: your staff from their phones, and your customers from the messenger they already use.

Each connection is your company's own messenger account: your own bot, number or app. It serves one group of people, and one agent answers on it.

You manage connections on the Channels tab of Settings → AI Agents.

Part of the tabWhat it is forNeeds
My messenger accountsLink your own messenger account, so that you can talk to the agents and approve their proposals from your phone.AI agents - start and control own background tasks
Messenger connectionsConnect, test, change, turn off and disconnect your company's messengers.AI agents - manage agents, channels and all runs

Messengers you can connect​

You connect a messenger with keys from an account that you create with that provider. The connect form names each value and tells you where to find it.

MessengerWhat you enter
TelegramBot token. Create a bot with @BotFather in Telegram and paste the token it gives you.
WhatsAppAccess token, Phone number ID and App secret of your Meta app. Optionally a Message template name and Message template language; see Reply time limits.
SMS (Twilio)Account SID, Auth token and Sender: your Twilio phone number with its country code, or a Messaging Service SID.
MessengerPage ID of your Facebook Page, Access token and App secret.
InstagramInstagram account ID, Access token and App secret. An account connected with Instagram Login may also need its Instagram app secret.
LINEChannel access token and Channel secret.
ViberAuthentication token, and optionally a Sender name.
SlackBot token and Signing secret of your Slack app.
DiscordApplication ID, Public key and Bot token. Use an application made for this agent: connecting replaces its slash commands.
Microsoft TeamsMicrosoft App ID and Client secret of your Azure Bot, and its Directory (tenant) ID.
Google ChatGoogle Cloud project number and a Service account key (JSON).
WebhookNothing is required. For your own system: RushHour gives you an address and a signing secret, and you can enter a Reply URL that the agent's replies are sent to.

Secret values, such as tokens, are stored encrypted and are never shown again. When you edit a connection, leave a secret field empty to keep the saved value.

Coming soon: connecting Slack, Discord or WhatsApp with one click, without creating your own app or pasting keys.

Coming soon: two more optional WhatsApp fields, Sign-in code template name and Sign-in code template language. They let your drivers get their one-time sign-in code on WhatsApp when they sign in to the driver app with their phone number. Create a template in WhatsApp Manager in the Authentication category, with a Copy code button, get it approved, and enter its name; enter the language code it was approved in, such as en, en_US or he (if you leave it empty, en is used). Leave the name empty and sign-in codes are sent by text message only. A WhatsApp connection made with one click can name a sign-in code template too. If your company has more than one WhatsApp connection, codes go from the one that serves Customers, or, when none does, from the one connected first, so name the template there; the connection must be turned on. See Invitations and sign-in in the driver app settings.

Connect a messenger​

You need the manage permission. If you name no agent, the default agent for that group answers; RushHour creates one if your company has none yet.

  1. Go to Settings → AI Agents and open the Channels tab.

  2. Under Messenger connections, select Connect a messenger.

  3. Choose the messenger.

  4. Fill in the form:

    FieldNotes
    Who it servesStaff, Customers or Drivers. It can't be changed for an existing connection.
    Agent that answersOne of your agents for that group, or The default agent for this audience.
    Display name (optional)For example "Dispatch bot".
    Turned onA connection that is turned off does not answer messages.
    Connection detailsThe values from the table above.
  5. Select Connect. RushHour checks the keys with the provider. If the provider refuses them, the form tells you why.

When the connection is made, a result window shows what is left to do:

  • Webhook URL — for most messengers, you paste this address into the provider's own console, so that the provider sends incoming messages to RushHour. Telegram and Viber need no such step: RushHour registers the address for you.
  • What is left to do — the remaining steps in the provider's console, in order. When there are none, the window says the connection is ready.
  • Values marked Shown only once, such as a verify token or a signing secret. Copy them at once and keep them somewhere safe; they can't be shown again.

Check a connection​

Open the actions menu at the end of a connection's row:

ActionWhat it does
Test connectionChecks the connection with the provider and tells you what is still missing, or that the connection works.
PeopleLists the people linked to the connection, with how each was recognized and when. You can unlink a person here.
MessagesShows the latest messages that came in and went out, with their status: Received, Processed, Ignored, Sent, Failed or Retrying. An ignored message is one from a sender who is not linked, on a connection that is turned off, or written by a bot.
EditChanges the connection's agent, name and details.

The list also shows each connection's Status (Connected, Error or Turned off), the number of Linked people and the time of the Last message in.

A connection for staff answers only people who linked their own messenger account. A linked account acts as you, with your own permissions.

  1. Go to Settings → AI Agents and open the Channels tab. My messenger accounts lists the messengers your company connected for staff.
  2. Select Link my account next to a messenger.
  3. A window shows Your one-time code and the message to send. Either:
    • select Open to open the messenger with the message ready, then press Start or Send there; or
    • copy the message and send it to the bot yourself.
  4. The bot answers that you are linked.

The code works once and expires 15 minutes after it was created. If it expired, link your account again to get a new one.

To remove a link, select Unlink next to it. A user with the manage permission can also unlink anyone under People.

Slack

In Slack, people can write to the bot in a channel that others read. Turn on Link codes only in a direct message on the connection to refuse a code that was posted in a channel: that code stops working and links nobody, and the sender is asked to create a new code and send it in a direct message.

What staff can do in a messenger​

  • Ask the assistant, as in the portal's chat. It answers with your own permissions.
  • Approve or reject an agent's proposal. The agent sends the proposal to the chat; you answer with its buttons, or reply YES or NO where the messenger has no buttons. Only the person who started a task can decide its proposals there.

A person who has not linked their account gets a short answer that explains how to link it, and nothing else.

Customers​

A connection for customers gives them an assistant about their own orders, quotes and invoices. It can't change an order. It can pass a request or a quote request to your office.

For the customer assistant to answer, it must be on for your company: Settings → Profile → Customer Portal AI Assistant. See AI assistant.

By default the agent answers only customers who linked their Customer Portal account.

  1. In the Customer Portal, the customer opens Settings → Messaging. The page appears once your company has a messenger connection for customers.
  2. They select Connect next to the messenger and get a one-time code.
  3. They send the code in the messenger, or select Open to open it with the message ready.

The customer can disconnect the messenger again on the same page.

Customers' contacts without a portal account​

You can also let the agent answer a customer's contacts who have no Customer Portal account. Edit the connection, and under Customers without a portal account turn on one or both ways to recognize them:

OptionHow it works
Recognize contacts by phone numberA person who writes from a number saved on the contacts of exactly one customer is answered right away. Save the numbers with their country code. Available on WhatsApp and SMS, where the messenger reports the sender's phone number.
Verify contacts by email codeThe person gives the email address saved on a customer's contact, and proves it with a 6-digit code that RushHour sends to that address. Works on every messenger.

Both are off by default. A recognized contact can ask about that customer's shipments. They never see prices, existing quotes or invoices.

A third switch, Let contacts ask for price quotes, lets a recognized contact ask your office for a quote for a new shipment. The agent sums up the request and sends it only after a clear yes. Your office sets the price and gets back to them. It works only while contacts are recognized in one of the two ways above.

Your replies to a customer's request​

When a customer sends a request to your office from a messenger, your reply on that request is also sent to the same chat. The request in the Company Portal tells you so, and after you reply it tells you what became of the copy:

  • it was sent to the customer in the messenger;
  • it will be sent again automatically, because the messenger did not accept it just now;
  • it could not be sent, for example because the time to reply there has passed. Contact the customer another way if your answer is urgent.

Under each of your replies, a short line shows whether its copy reached the customer's chat. If a copy that was being retried is finally given up, your office gets a notification.

Drivers​

Coming soon for drivers. You can already create an agent and a connection for Drivers, but a driver links a messenger account with a one-time code from the Driver app's assistant, and that needs a version of the Driver app that is not in the stores yet. Until then, drivers can't link an account.

Reply time limits​

Some messengers let a business reply only for a limited time after the person's last message. The Channels tab shows the limit for each such connection.

MessengerLimit
WhatsApp, Messenger, Instagram24 hours after the person's last message.

On WhatsApp, you can reach a person after that time with an approved message template: create a template in WhatsApp Manager whose body has exactly one variable, get it approved, and enter its name under Message template name. Without a template, later messages are not sent.

Limits and safety​

  • A messenger account can act as a person only after that person linked it with a one-time code from their own signed-in account, or, for a customer's contact, was recognized in a way you turned on.
  • To prevent abuse, a person who sends more than 30 messages in 10 minutes to one connection is not answered until that time has passed.
  • The agent answers in Hebrew when a person writes in Hebrew.
  • What the agent may do in a messenger is what its group allows: staff act with their own permissions and approvals, and the customer assistant only reads, apart from passing requests to your office. See Who an agent can serve.

Turn off or disconnect a messenger​

ToDo thisWhat happens
Pause a connectionOpen its actions menu and select Turn off. Select Turn on to resume.The connection stops answering messages. Links and settings are kept.
Remove a connectionOpen its actions menu and select Disconnect, and confirm.The connection stops receiving and sending messages, its address is removed at the provider, and everyone's link to it is revoked. If you connect it again later, people have to link their accounts again.
Remove one personOpen People and unlink them.That messenger account can no longer use the connection. The person can link it again with a new code.
Stop answering for a whole groupTurn off or disconnect each of its connections, or disable the agent. See Switch an agent off.
  • Background AI agents — agents, tasks, approvals and limits.
  • Telegram — the separate Telegram integration that sends Copy to Driver details to your drivers. It is not the same as a messenger connection for an agent.