The XML node is found within the Aivo Nodes category. This node is used to add XML files as a response to the user's query in a conversation, allowing them to view and/or download the document.
In the video, we explain the parameters to configure it:
Below you will find the description of the fields you will use in the process, as shown in the video
1) Name (optional):
The name of the node, where you can change the default value.
2) Base 64:
- If you choose false, you will add the URL of the XML file in the corresponding field. This must be publicly accessible; otherwise, the bot will not be able to display it.
- If you select ‘true’, you will need to incorporate the XML file in base64 format below. When you run the flow you are developing, a temporary URL will be automatically generated by the node.
Key Data:
- This temporary URL is valid for 1 hour within the bot's session, so it should only be used for integration.
- URLs containing files stored, for example, on Drive, will not be accepted.
- The URL field supports access to variables in the msg object using curly braces. For example, {{myParameter}} would insert the value contained in the variable msg.myParameter.
Download the flow with the examples at this link.
Keep in mind:
If you use the example, include an Inject node before the XML node, which should contain the URL of the file in the corresponding field.