# Act-On

Act-On is a marketing automation platform that enables businesses to create, update, and manage marketing campaigns with subscriber management and analytics.

## Overview

The Act-On connector currently allows you to create, update, delete records as well as query lists and subscription information.

## Authentication

When using the Act-On connector, the first thing you will have to do is click on 'New Authentication' in the step editor:
![add-auth](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-550b03d3_../../../../../images/add-auth.png)
You can then name your authentication and continue with by pressing `Add authentication`.
![rename\_auth](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-ee19ce74_docs-rename_auth.png)
This will redirect you to a Act-On login screen. Add your login credentials and press the `Authorize app` button.
![act\_on](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-05dfa2ef_docs-act_on.png)
If successful, you will be redirected back to your workflow and can now use the Act-On connector.
![auth\_complete](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-0df1a19c_docs-auth_complete.png)

## Example 1: Creating a record

This example will show how you how to create a record for a list in Act-On.

1. Add the Act-On connector to your workflow
   ![act\_on\_search](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-ca5436db_docs-act_on_search.png)
2. Select the 'Create record' operation and the authentication that has been created.
   ![auth\_operation](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-786e95c8_docs-auth_operation.png)
3. Add the ID of the list that you wish to add the record to.
   ![list\_id](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-a37b2c1a_docs-list_id.png)
4. To add fields to the record you will need to add properties to the `Record body` object. When adding a property the key represents the field name in Act-On. This has to be exactly as it appears in the Act-On system. If you are not sure what the fields names are, they can be found using the `Get List` operation. The response of the `Get List` contains an array named `headers` which contains all the fields that can be added to the record body.
   ![get\_list](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-8959df82_docs-get_list.png)
   Below is an example record body that will be created.
   ![body\_of\_record](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-0c6f9878_docs-body_of_record.png)
5. Once the record body is ready, the workflow can be run. As can seen below, the creation was a success a new record has been created.
   ![docs-success](https://tray.ai/documentation/images/connectors/service/act-on/7f049c13-fc1c7c49_act-on-docs-success.png)
