Extract PDF Data and Send Email
After you have generated the relevant tools, you can try chaining several of them together through an AI conversation to accomplish more complex tasks.
Text Example
-
Manually drag a file into the chat box.
-
Enter the following AI conversation:
txt
Use the PDF data extraction tool to extract data from the PDF file, and use the email-sending tool to send the generated result file to the relevant people.
- Email subject: PDF data extraction result
- Email body: Please see the PDF data extraction result file in the attachment
- Recipients: zhangsan@example.com, lisi@example.com
Notes
- First, make sure you have already generated the relevant tools. If the PDF file contains sensitive information, be sure not to let the tool output results directly as JSON; instead, require it to write the results to a file and send that file as an email attachment. This avoids exposing the PDF content to the AI model during the conversation.
- Make sure you have configured the account, password, and other sensitive information required by the email-sending tool, and set them up in runtime variables. For variable configuration, see Runtime Variables.