Python ====== TouchPoint runs Python scripts for custom reports, automation, and integrations. These articles contain ready-to-use recipes and the reference for the ``model`` and ``q`` objects available in every script. Python Recipes -------------- .. toctree:: :glob: :maxdepth: 1 Scripts/* ../../EmailTexting/MailChimpIntegration Python Model ------------ This is the main access to TouchPoint from within the Python environment. The PythonModel is accessed through a single property called ``model`` that is automatically instantiated and available in any Python script within TouchPoint. .. toctree:: :glob: :maxdepth: 1 Model/* Query Functions --------------- These functions are used to query your TouchPoint database through a built-in object called ``q`` The documentation for QueryFunctions is divided into the following sections: .. toctree:: :glob: :maxdepth: 1 QueryFunctions/* Other References ---------------- .. toctree:: :glob: :maxdepth: 1 IronPythonScripts ObjectTables/* | | +--------------------+------------------+ | **Latest Update** | **10/22/2026** | +--------------------+------------------+ Added the IronPython Scripts article.