Dialogflow agents allow you to use and build engaging, conversational interfaces powered by Google's Dialogflow AI. You can import Dialogflow agents in your SignalWire space.
To begin, Navigate to the Dialogflow tab in your SignalWire dashboard.
After navigating to the Dialogflow landing page, select the Integrations tab. Then, click on SignalWire to begin the integration process.
Give this new Integration a name and then click Sign Up
Once you sign in and consent Dialogflow to access your SignalWire cloud space, the next step is to associate a phone number to this agent. You can click Link with New Number to have a number purchased and configured for this. Or, you can edit your phone settings after this integration to use a number that is already in your space.
Now that your SignalWire space and a number have been linked with your Dialogflow account, it is time to create a new Agent. On the left panel, click on Create new agent.
Then, name your new agent and click Create . Once your agent is created, click on the Settings (Gear) icon in the top right corner of the screen which is next to your agent's name.
Once in the settings of your agent, click on the Exports and Import tab. If you have an agent that is already stored locally, you can import this as a zip file. For this demo, we will click Import From Zip. Our sample zip file can be found HERE.
Note: after selecting the zip file to upload, you must type in 'IMPORT' for the import to process successfully.
Congratulations! Your agent is now up and running within your Dialogflow account, which is linked to your SignalWire Space. You can try this out by typing into the console on the right side of your Dialogflow dashboard.
In addition, you can remove imported agents from your SignalWire space. Removing agents will make them unavailable when creating future Dialogflow calls and will be removed from any Phone Numbers that are configured to use it. You can add these removed agents back anytime.
To handle calls using Dialogflow agents, configure your phone numbers to handle calls using a Dialogflow Agent and choose which agent to run when a call comes in.
You may also re-import DialogFlow agents to upgrade to the new integration method within the SignalWire Space.
Within your SignalWIre space, navigate to the Dialogflow section. Then, click on the “Update Required” badge associated with the agent that needs to be re-imported.
Because the new integration method is initiated from within the Dialogflow interface, a modal is presented describing the next steps and a link to open the Dialogflow console where the agent can be re-imported using the new integration method.
For a step-by-step tutorial on the processes mentioned above, check out these videos below and follow along as we demonstrate how to perform this integration.
For Dialogflow specific inquiries, refer to the Dialogflow documentation page which can be found HERE
If you would like to test this example out, you can create a SignalWire account and space here.
Please feel free to reach out to us on our Community Slack or create a Support ticket if you need guidance!
Updated 2 months ago