# Accelevents

Accelevents is a service integration platform connector that enables workflow automation and data synchronization across applications for modern businesses.

## **Authentication**

Within the builder, click on the Accelevents connector to display the connector properties panel. Select the 'Authentication' tab and click on the 'New authentication' button.
In the Tray.io authentication pop-up modal, name the authentication in a way that will easily identify it within a potentially large list. For example, whether it is a Sandbox or Production auth, etc.

Consider who / how many people will need access to this authentication when choosing where to create this authentication ('Personal' or 'Organization'). The second page asks you for your 'Base URL' and 'API key' credentials.

![auth-creds](https://tray.ai/documentation/images/connectors/service/accelevents/2ixrfkQgiLG1qkjZQvchC4_auth-creds.png)
You can select a suitable environment based on your needs for the 'Base URL'.
![auth-base-url](https://tray.ai/documentation/images/connectors/service/accelevents/5bXUgliRw66WEAl7hxvVDa_auth-base-url.png)
To get the API key, head to the Accelevents dashboard.
Click on 'Settings' > 'Integrations' > 'Tray integration'. Enable the Tray integration using the toggle button. Here, you can use the existing API key or create a new one using the 'Generate New Key' button.
![auth-api-key](https://tray.ai/documentation/images/connectors/service/accelevents/hLWIXiL3Grcep9KAMq0QQ_auth-api-key.png)

Once you have added these fields to your Tray.io authentication pop-up window, click the 'Create authentication' button.

Your connector authentication setup should now be complete.

## **Example Usage**

> **Info:** Tray is extremely flexible. By design there is no fixed way of working with it - you can pull whatever data you need from other services and work with it using our core and helper connectors. This demo which follows shows only one possible way of working with Tray and the Accelevents connector.

Below is an example of how you could potentially use the Accelevents connector to Import attendees.
The workflow fetches Attendee information from a Google sheet and imports it to  Accelevents using the Loop connector:
![accelevents-example-workflow](https://tray.ai/documentation/images/connectors/service/accelevents/61sqQ1fwRXrNC0P8Swna3h_accelevents-example-workflow.png)
In this case, we are using Google sheets as a generic placeholder for any service or database you may wish to use.
The Google sheet data might look something like this:
![google-sheets-data](https://tray.ai/documentation/images/connectors/service/accelevents/5afOSHaHAfpRF3hbBQl2q2_google-sheets-data.png)

The steps will be as follows:

1. Setup using a Manual trigger and fetch data from a Google sheet.
2. Import Attendees one by one to Accelevents using the Loop connector.
   The steps involved are:

### 1 - Manual Trigger

The workflow is triggered by a Manual trigger.

### 2- Data storage

Get the google sheets details using the 'Get rows' operation.
![data-storage](https://tray.ai/documentation/images/connectors/service/accelevents/6SpJLiiDZZ3rTk4I3OtjoV_data-storage.png)
This will fetch data from the specified Google sheet:
![data-storage-op](https://tray.ai/documentation/images/connectors/service/accelevents/7lyZ6b8GzhjgbjdvSnZXTD_data-storage-op.png)

### 3 - Loop data

Loops through the Attendee data received from Google sheets.
The step uses the 'Loop List' operation to loop the data.
![loop-collection](https://tray.ai/documentation/images/connectors/service/accelevents/1wa9cSkEp8Uub4oAHKEMtO_loop-collection.png)

> **Info:** \*\*CONNECTOR-SNAKE: \*\*The simplest and easiest way to generate your jsonpaths is to use our feature called the [Connector-snake](https://tray.ai/documentation/platform/automation-integration/building-workflows/mapping-data/mapping-data-between-steps/#the-connector-snake). Please see the main page for more details.

### 4 - Import attendee data

Imports attendee data looped through the Google sheet.
![import-attendee](https://tray.ai/documentation/images/connectors/service/accelevents/7fsqGSpJyJ1NhDVAGWuxX3_import-attendee.png)
While adding the attendee properties make sure to add exact property names. You can execute the\*\* List attendee properties\*\* operation to know the exact names.
![list-attendee-properties](https://tray.ai/documentation/images/connectors/service/accelevents/4UJe7r6OHVWBEQt3GGvxN2_list-attendee-properties.png)

### 5 - Test and view debug info

Click on the Debug tab to view Input and Output for individual steps.
![debug](https://tray.ai/documentation/images/connectors/service/accelevents/1IfyLExlZdU8Y4mWIcsPzX_debug.png)

> **Info:** \*\*BEST PRACTICES: \*\*Whenever you do decide to create your own workflow, be sure to check out some of our key articles such as:- [Using callable workflows](https://tray.ai/documentation/platform/automation-integration/building-workflows/composable-workflows/calling-other-workflows)
> - [Pagination](https://tray.ai/documentation/platform/automation-integration/advanced-use-cases/batching-queueing/pagination)
> - [Data transformation guide](https://tray.ai/documentation/platform/automation-integration/building-workflows/mapping-data/data-transformation-guide)
