This project shows how to use Office Scripts and Power Automate actions to re-calculate, create chart and extract images as base-64 string to be used later to send Email.
Example scenario:
- Calculate to get latest results
- Create Chart
- Get Chart and Table images
- Email the images to recipient using Power Automate action
The solution has 2 parts:
- Office Script to calculate and extract Excel chart and tables.
- A power Automate flow to invoke script and email the results.
Download the input Excel file used in this sample and try it out yourself!
This is the input Excel file being used.
The solution uses two Office Scripts.



