When you execute the workflow:
- n8n extracts the relevant information from your PDF and formats it as JSON text.
- The OpenAI assistant receives this JSON, aggregates data (like summing all premium payments for each customer), and outputs it as a JSON list—one object per customer.
- The output is ideal for downstream processes, such as creating records in Salesforce, exporting CSVs, or generating reports.