I integrated a Dialogflow agent with chatbase. I can view all the metrics in the chatbase portal except for the chat transcripts. I checked the request body and all the parameters including the user and agent messages are being passed. I get "Unable to load the transcripts. Please try refreshing the page." message when clicking on View Transcripts. What could be the issue?
Related
I am trying to test a bot by sending messages and checking its response messages. To Test, I am using "Post message in a chat or channel" in Power Automate,
Post as -> Flow Bot
Post in -> Chat with Flow Bot
In recipient, the bot's name is not visible. It only shows user's name
I am using "Post message in a chat or channel",
Post as -> Flow Bot
Post in -> Chat with Flow Bot
In recipient, the bot name is not visible. It only shows users names. I am expecting bot's name to show up in recipient dropdown.
To send messages to a bot using Power Automate in Microsoft Teams, you will need to do the following:
Create a Power Automate flow that uses the "Post message in a chat or channel" action.
In the "Post as" field, choose the "Flow Bot" option. This will ensure that the message is sent from the Flow Bot account, which is the account used by Power Automate to send messages.
In the "Post in" field, choose the "Chat with Flow Bot" option. This will ensure that the message is sent to the Flow Bot, which is the account that will receive the message.
In the "Recipient" field, you should be able to select the name of the bot that you want to send the message to. If you do not see the name of the bot in the dropdown list, you may need to check that the bot is installed and configured properly in Microsoft Teams.
After you have selected the recipient, you can enter the message that you want to send in the "Message" field. You can also use dynamic content to insert information from previous steps in the flow, if needed.
Save and run the flow to test it. The Flow Bot should send the message to the bot that you selected, and you should be able to see the bot's response in Microsoft Teams.
Context
Currently we are using Azure Bot Service. The Bot Service is setting up an message endpoint which is directed to our on-pre server
We can successful detect an request coming in when user send something through bot.
But when user edit the previous messages, not request comes in
Message endpoint on Azure
User send a new message on bot
User edit a message on bot
Question
Does there exists a way to receive the update request when users edit their previous messages on bot?
Check out the link mentioned below to verify "Update Activity" section which is nearer to the current requirement.
https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#update-activity
So I'm tryin to get messages via messenger webhook. It is working well locally but when I try to send a message through messenger the callback(which is Heroku) isn't happening.
I was sending the messages with an account which had no role in the app and which was also a developer account which had Admin role.
I have subscribed to messages, messaging_postbacks, message_deliveries, message_reads, message_echoes, standby events for my webhook and added my page to it. I dont necessarily think im missing anything.
...a little help Captain??
Edit: I am now obtaining messages sent by clicking test button, but not when other developer accounts sent message through messenger
I follow the instruction provided by diaglogflow as the below, however, it did not work.
The "Get Started" button do pop up for my page's messenger, but click on it or say words in the default welcome message (I did set the intent as Facebook welcome) doesn't trigger any response.
Do I miss any setting?
Pic.1 Get started do appear but no response:
Steps provided by diaglogflow:
Get your Facebook Page Access Token and insert it in the field below.
Create your own Verify Token (can be any string).
Click 'START' below.
4.Use the Callback URL and Verify Token to create an event in the Facebook Messenger Webhook Setup.
Pic.2 Integration setting in dialogflow(left) and messenger setting in Facebook(right):
Pic. 3 Default welcome intent in diaglogflow and it's response(I had clicked the save button):
Pic4. Messenger set up for Webhook version
It seems you've configured the webhook for your app. Make sure you've subscribed your app to a Facebook Page.
Click 'Add or Remove Pages' and select the pages you want to
subscribe your app to. Your webhook will receive events for each
selected page when people chat with it through Messenger.
In the 'Access Tokens' section there will be a Generate Token button
for each authorized Page. Make sure to save the access token, it's
needed to send messages using the Send API.
For each authorizedPage, the 'Webhooks' section will contain the fields the
app can subscribe to. Click on "Add Subscriptions" to select desired fields.
At a minimum, we recommend you choose messages and messaging_postbacks to get started.
Don't forget to choose message_postbacks. If still you face the issue re-configure the webhook. In addition test your messenger response from dialogflow from right side try it --> hi/hello --> and click default response change it to messenger if you can see the expected message from response tab that means you are missing something from page integration. I am attaching a snapshot of checking messenger response from dialogflow:
official documentation
To add Tasnuva's answer, the subscription button is in the field of:
"messenger setting--> webhooks--> add/remove page right side button."
I was once confused by the add/remove page at the access page token field.
Click the button in the red square to edit it:
I'm trying to edit setting for my bot. But each time i click on save we receive this message:
"CorrelationID: |OZBV5.4b38250_"
"CorrelationID: |uytKo.4b3c387_"
and nothing has been saved.