Below are the fields required for its setup:- Name (optional): allows you to customize the node’s name within the flow, replacing the default value.
- Title: here you can set the title of the PDF that will be displayed to users.
-
Base64 string:
- If you select 'false', you must provide the file URL. This URL must end with the .pdf extension and be publicly accessible (no passwords), otherwise the bot will not be able to deliver it.
- If you select 'true', you must upload the PDF file in Base64 format below. When you run the flow, a temporary URL will be automatically generated by the node.
Key details:- This temporary URL is valid for 1 hour within the bot session, so it should only be used for integration purposes.
- URLs pointing to stored files (for example, from Drive) are not supported.
- The URL field supports access to variables from the msg object using curly braces. For example, {{myParameter}} will insert the value stored in the variable msg.myParameter.
You can download example flows using this link.Please note that if you use this example, you must first add an Inject node before the PDF node, which should include the file URL in the corresponding field.
In the following video, we walk you through how to configure each parameter: