Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Adding links to a custom payload response in Dialogflow.

I'm struggling to add clickable links in Dialogflow's custom payload response. Seeking community help for insights or solutions. Any guidance on this matter would be highly appreciated. Thanks!

Solved Solved
1 4 1,269
1 ACCEPTED SOLUTION

Can you try this in your custom payload? 

{
 
"richContent": [
   
[
     
{
       
"type": "info",
       
"title": "Info item title",
       
"subtitle": "Info item subtitle",
       
"image": {
         
"src": {
           
"rawUrl": "https://example.com/images/logo.png"
         
}
       
},
       
"actionLink": "https://example.com"
     
}
   
]
 
]
}

 

View solution in original post

4 REPLIES 4

Can you try this in your custom payload? 

{
 
"richContent": [
   
[
     
{
       
"type": "info",
       
"title": "Info item title",
       
"subtitle": "Info item subtitle",
       
"image": {
         
"src": {
           
"rawUrl": "https://example.com/images/logo.png"
         
}
       
},
       
"actionLink": "https://example.com"
     
}
   
]
 
]
}

 

Thank you @nceniza the solution is working. I have one more question related to the same issue: Can we include text along with the link in Dialogflow?

With text responce doesn't work. You can use Custom Payload, see the example answer above

Thank you @nceniza  the solution is working fine. But I have one more question related to the same issue: Can we include text along with the link in Dialogflow?