function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sapana JSapana J 

How to redirect user to non salesforce website page on selection of specific menu button?

Hello,
 
I have created an Einstein Bot using the New bot wizard. I wanted to redirect user to non salesforce website page on selection of specific menu button. I there any way to do the same?
 
Thank you.
ShirishaShirisha (Salesforce Developers) 

Hi Sapna,

Greetings!

You can create custom/edit the existing button to invoke the Visualforce page and use the IFrame to call the external website.Please find the sample code as below:

<apex:page showHeader=”false”>
    <apex:pageBlock >
        <apex:iframe src=”https://www.salesforce.com” scrolling=”true” id=”theIframe”/>
    </apex:pageBlock>
</apex:page>
Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Mina LaraMina Lara
Sapana JSapana J
Hi @Shirisha,

Thank you for the reply.

It will be great help if you could elaborate more, how I can invoke visualforce page in Einstein Bot, as I am only seeing Apex and Flow options in Action type.
Mina LaraMina Lara
Thanks to you, i came here (https://androidgta5.net/) and read this guide.