Test Multifunction Calling using Microsoft Teams AI Agent recipe
You can test the Multifunction Calling using Microsoft Teams AI Agent recipe with the function declaration value that is set as default in the Set Flow Configurations step of the Microsoft Teams AI Agent process.
The default value applies to and can execute the Azure OpenAI Agent for Dynamics 365 and Snowflake and Azure OpenAI Agent for Salesforce recipes that are imported from the Recipes tab.
Ensure that all the following processes in this recipe contains the user that has access to the process service URL at run time in the Allowed Users field:
•Query Dynamics 365
•Query Snowflake
•Azure OpenAI Agent for Dynamics 365 and Snowflake
•Azure OpenAI Agent for Salesforce
The function name must start with a letter or an underscore, and can contain alphanumeric characters, underscores (_), periods (.), and hyphens (-). For more information, see Google Vertex AI documentation.
The structure of the Function_Declaration is important for further execution of the request to the Application Integration process. If the process involves an AI agent handling Microsoft Teams webhooks, this must be indicated in the name field within the function name. To configure your Function_Declaration in the process, you must specify it in the JSON format as shown in the following example:
<tools> <functionDeclarations> <name>Work_With_Snowflake_Agent</name> <description>The function recognizes user input for interract with Snowflake service create, update and find information about employees.</description> <parameters> <type>object</type> <properties> <Process_URL> <type>string</type> <description>Fixed URL to execute process</description> <enum><Service_URL_of_the_Application_Integration_Process></enum> </Process_URL> <Payload> <type>array</type> <description>Structured payload for processes</description> <items> <description>Fields in payload for processes</description> <type>object</type> <properties> <User_Prompt> <type>string</type> <description>The message text from the event</description> </User_Prompt> <Agent_Name> <type>string</type> <description>The AI Agent name</description> <enum>Snowflake</enum> </Agent_Name> </properties> <required>User_Prompt</required> <required>Agent_Name</required> </items> </Payload> </properties> <required>Process_URL</required> <required>Payload</required> </parameters> </functionDeclarations> <functionDeclarations> <name>Work_With_Dynamics_Agent</name> <description>The function processes user input to interact with the Dynamics 365 service, enabling the creation, update, and retrieval of information about the company’s clients.</description> <parameters> <type>object</type> <properties> <Process_URL> <type>string</type> <description>Fixed URL to execute process</description> <enum><Service_URL_of_the_Application_Integration_Process></enum> </Process_URL> <Payload> <type>array</type> <description>Structured payload for processes</description> <items> <description>Fields in payload for processes</description> <type>object</type> <properties> <User_Prompt> <type>string</type> <description>The message text from the event</description> </User_Prompt> <Agent_Name> <type>string</type> <description>The AI Agent name</description> <enum>Dynamics</enum> </Agent_Name> </properties> <required>User_Prompt</required> <required>Agent_Name</required> </items> </Payload> </properties> <required>Process_URL</required> <required>Payload</required> </parameters> </functionDeclarations> <functionDeclarations> <name>Work_With_Salesforce_Agent</name> <description>The function processes user input to interact with the Salesforce service, enabling the creation, update, and retrieval of information about the company’s products.</description> <parameters> <type>object</type> <properties> <Process_URL> <type>string</type> <description>Fixed URL to execute process</description> <enum><Service_URL_of_the_Application_Integration_Process></enum> </Process_URL> <Payload> <type>array</type> <description>Structured payload for processes</description> <items> <description>Fields in payload for processes</description> <type>object</type> <properties> <User_Prompt> <type>string</type> <description>The message text from the event</description> </User_Prompt> <Agent_Name> <type>string</type> <description>The AI Agent name</description> <enum>Salesforce</enum> </Agent_Name> </properties> <required>User_Prompt</required> <required>Agent_Name</required> </items> </Payload> </properties> <required>Process_URL</required> <required>Payload</required> </parameters> </functionDeclarations> </tools>