Step-by-step guide to generating company sales reports from a CSV file
In this tutorial, we will generate detailed, multi-slide sales data reports for multiple companies using a self-hosted Presenton’s API and a Python script.
This tutorial extends Generate a PPT via API in 5 Minutes and shows you how to automate the creation of structured sales reports from a CSV file using Python.
So, do check it before continuing with this and make sure you have Presenton running locally or on any server, and you are able to generate presentations with it.
Save your sales data as sales_data.csv
:
You’ll need the requests
and pandas
libraries:
Let’s build the script step by step.
Generated reports will be saved in the reports
directory.
You may change the URL http://localhost:5000
to the URL of your Presenton instance.
Save your script as generate_sales_reports.py
and run:
Each company will get a detailed, multi-slide sales report, and you’ll see the download path for each file in your terminal.
reports
folder.Need help? See the full documentation or open an issue on GitHub.
Step-by-step guide to generating company sales reports from a CSV file
In this tutorial, we will generate detailed, multi-slide sales data reports for multiple companies using a self-hosted Presenton’s API and a Python script.
This tutorial extends Generate a PPT via API in 5 Minutes and shows you how to automate the creation of structured sales reports from a CSV file using Python.
So, do check it before continuing with this and make sure you have Presenton running locally or on any server, and you are able to generate presentations with it.
Save your sales data as sales_data.csv
:
You’ll need the requests
and pandas
libraries:
Let’s build the script step by step.
Generated reports will be saved in the reports
directory.
You may change the URL http://localhost:5000
to the URL of your Presenton instance.
Save your script as generate_sales_reports.py
and run:
Each company will get a detailed, multi-slide sales report, and you’ll see the download path for each file in your terminal.
reports
folder.Need help? See the full documentation or open an issue on GitHub.