# Adding custom handlers

**Custom** **Handlers** in the CloudIO platform allows you to implement custom code to perform any DML (Insert, Update, Delete) operations on the data source.

Examples of custom actions:

* Creating an XML file to store the data
* Invoking a web service
* Inserting the data into some other table
* Sending an email with data as an attachment

{% hint style="info" %}
The platform invokes the custom handler before and after executing the DML operation.
{% endhint %}

To implement a custom handler, you must define a java class that implements an interface ***'xxra.customobjects.ObjectHandler'*** provided by the platform.

* This custom class must implement methods that will be invoked by the platform.
* Each method will have access to the data that is being inserted, updated, or deleted.
