Reports
Build reports from sections, create them as PDF and CSV now or on a schedule, and send them by email or to Teams.
A report collects key figures of the shop in one PDF: revenue, orders, best-selling products, vouchers, returns and your own text. You create it right away or let plinth create it on a schedule. Every generated report is kept in the history and can be sent by email or posted to a Teams channel. Reports contain no customer data.
Where to find it
Open Reports > Reports. The page shows two tables:
- Reports: the reports you have set up, with period, schedule, delivery and the last generated report.
- History: the most recently generated reports with trigger, status and downloads.
The delivery channels (mail server and Teams) are behind the button Delivery channels at the top of the page.
What you need
- The permission View reports to see the list and the history and to download PDFs.
- Edit reports to create, change, archive and restore reports.
- Create and send reports to create a report right away with Create now.
- Export reports as CSV for the CSV download.
- Set up delivery channels for the mail server and the Teams connection.
- A connected shop and a finished statistics import, because the sections read their figures from Statistics. See Onboarding wizard.
- For delivery by email: a mail server set up under Delivery channels. For Teams: a webhook URL of the Teams channel.
A section appears in your report only if you may see its data. For example, the sections on brands and categories need the permission View assortment statistics. Permissions are assigned in Access.
How do I create a report?
- Open Reports > Reports and click New report.
- Enter a Name and, if you like, a Description (optional).
- Choose the Period: Yesterday, Last 7 days, Last week (Mon to Sun), Last 30 days, Last month, This month to yesterday, Last quarter or Last year.
- Choose the Comparison: no comparison, Previous period or Previous year.
- Build the content under Sections (see below).
- Click Save.
The period is always relative. A report with Last month shows the previous month each time it is created.
Sections
- Click Add section and choose a section. The sections are grouped, for example:
| Group | Sections |
|---|---|
| Revenue | Key metrics, Revenue and orders over time, At a glance, Payment methods, Vouchers, Vouchers: key figures, Vouchers: codes, Vouchers: campaigns |
| Assortment | Best-selling products, Top brands by revenue, Top categories by revenue |
| Returns | Returns: key metrics, Returns: reasons, Returns: brands, Returns: biggest cost drivers, Returns: size advice, Returns: quality of reasons |
| Text | Free text: your own text or comment |
- Per section you can set a Title (empty = default), a Note below the section and, for lists, the Length.
- Change the order with Move up and Move down. Remove deletes a section.
- Tick off to turn off a section without deleting it. At least one section must be active.
Which sections are offered depends on the areas enabled for the shop and on your permissions.
How do I preview a report?
- Open the report for editing.
- Click Preview. The preview shows the report with current figures without saving it.
- Click PDF preview to open the saved version as a PDF in a new tab. Unsaved changes are not included, so save first.
How do I create a report right now?
- Open Reports > Reports.
- Click Create now in the row of the report.
- plinth generates the report with current numbers and sends it through the chosen delivery channels.
- The new report appears at the top of History. Click the row to open it.
The opened report shows At a glance, Data notes (if sections could not be loaded) and Delivery (which channel worked).
How do I download a report as PDF or CSV?
- Open Reports > Reports and go to History.
- Click PDF in the row, or open the report and click Download PDF.
- For the numbers as a table, open the report and click Download CSV. This needs the permission Export reports as CSV; the download is logged.
Downloads work only when you are signed in to plinth.
How do I send a report by mail on a schedule?
- Open the report for editing.
- Under Schedule, choose the Frequency: daily, weekly or monthly. no schedule means the report is only created by hand.
- For weekly, choose the Weekday. For monthly, enter the Day of month (1 to 28).
- Choose the Time (15-minute steps). Times use the time zone of the shop.
- Tick Schedule active.
- Under Delivery, tick Email and enter the Recipients, one address per line. Use business addresses only.
- Optionally tick Teams to post a summary to the Teams channel.
- Click Save. The list shows the schedule and Next run: with the next date.
The download in plinth is always included. The email contains one sentence and the PDF as an attachment: no figures in the text, no links. Teams shows a short summary and a link to plinth (sign-in required).
Note: To pause a report, remove the tick at Schedule active. The list then shows paused.
How do I set up the delivery channels?
You need the permission Set up delivery channels. The channels apply to this shop.
- Open Reports > Reports and click Delivery channels.
- In the block Email, tick Active.
- Fill in Server, Port, Encryption, Username and Password of your mail server.
- Fill in Sender address and Sender name.
- Click Save.
- Enter a Test address and click Send test email. "Test sent successfully." confirms that the settings work.
The password is stored encrypted and never shown again. Leave the field empty to keep it. If you change server, port, encryption or username, the stored password is removed and you must enter it again.
Teams
- In Teams, open the channel, choose Workflows and the template "Post to a channel when a webhook request is received". Copy the webhook URL.
- In plinth, open Delivery channels. In the block Teams, tick Active.
- Paste the address into Webhook URL and click Save.
- Click Send test message.
Warning: The webhook URL contains an access token. Treat it like a password and do not share it.
The same mail server is used by the statistics mail in Statistics and by the notifications in Monitoring.
How do I archive or restore a report?
- Open Reports > Reports.
- Click Archive in the row of the report. It no longer runs on schedule and leaves the list.
- To bring it back, click Show archived and then Restore.
Archived reports cannot be edited or created. Already generated reports stay in the history.
Common errors and fixes
| Message | Cause | Fix |
|---|---|---|
| Status partial | The report was generated, but at least one section or delivery channel had a problem. | Open the report and read Data notes and Delivery. |
| Status failed | The report could not be generated. | Create it again with Create now. If it fails again, check the shop connection and the statistics. |
| Delivery not set up | The delivery channel is not set up in this shop. | Set up Email or Teams under Delivery channels. |
| Delivery failed | The mail server or Teams did not accept the message. | Send a test under Delivery channels and correct the settings. |
| "Sending by e-mail needs at least one recipient." | Email is ticked, but no recipient is entered. | Enter at least one address under Recipients. |
| "The domain of ... is not allowed for reports (setting: allowed recipient domains)." | The recipient's domain is not on the list of allowed domains. | Use an allowed address or ask an administrator. |
| "Invalid e-mail address: ..." | An address is mistyped. | Correct the address; one address per line. |
| "At least one section is needed." / "At least one section must be active." | The report has no active section. | Add a section or switch one on. |
| "The time must be in 15-minute steps." | The time is not on a quarter hour. | Choose for example 07:00, 07:15, 07:30 or 07:45. |
| "The day of the month must be between 1 and 28." | A day after the 28th was entered. | Enter a day from 1 to 28. |
| "Someone else changed the report in the meantime. Please reload and make the change again." | Two people edited the same report. | Reload the page and repeat your change. |
| "This report is being created right now." | Create now was clicked while the report is running. | Wait a moment and look in History. |
| "You do not have permission for this section." | The section needs a permission you do not have. | Remove the section or ask for the permission. |
| "Please save the mail settings first." / "Please save the webhook address first." | A test was started before saving. | Click Save, then test. |
| "The webhook URL is invalid or not a Teams webhook." | The address is not a Microsoft Teams webhook. | Copy the webhook URL from the Teams workflow again. It must start with https://. |
| "Signing in without encryption is only allowed for local servers." | Encryption is set to none (local only) for an external mail server. | Choose STARTTLS or TLS, whichever your mail server offers. |
See also
- Statistics: the figures behind most sections, and the statistics mail
- Vouchers and Returns: more sections for reports
- Monitoring: uses the same mail server and Teams connection
- Jobs: scheduled runs in the background
- Audit log