Extending Google Slides with Add-ons

You can extend Google Slides with add-ons that help users construct
new presentations, establish connectivity to third-party systems, and integrate
your Slides data with other G Suite applications (like Google Sheets).

You can create add-ons triggers that run specified functions
when certain triggering events occur.

Slides add-ons are built using Apps Script. To learn more about how to access
and manage Google Slides with Apps Script, see
Extending Google slides.

Presentation structure

A Google Slides presentation consists of pages, each of which as some number
of elements such as text boxes and images.

The Apps Script Slides service
provides several classes to represent organizational structures in Slides
(such as Slide and
Shape). You can use these classes to
read and modify Slides data and behavior.