# Send Analytics Event

This action allows you to send custom analytics events to [Segment](https://segment.com/). You can then setup Segment to forward this event to any of your other analytics providers such as Google Analytics, Facebook,  Mixpanel, Heap etc. The full list can be found [here](https://segment.com/catalog#integrati).

### Configuration

| **Property**     | **Description**                               |
| ---------------- | --------------------------------------------- |
| Event Name       | The segment event name                        |
| Event Properties | Custom segment properties                     |
| Source ID        | Segment Source ID (get this from segment.com) |
| Write Key        | Segment Write Key (get this from segment.com) |

### Finding your Source ID and Write Key

1. Login to segment.com
2. Navigate to **Settings > API Keys** your Source ID and Write Key should be listed here.

![](https://670590325-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LFpomjg5NzD-5eUbIrK%2F-LFpsVUsxomqxkT1yZ0k%2F-LFptapQ4osNl9bUhY4Q%2F2018_06_25_17_40_28_Sources_Server_Segment.png?alt=media\&token=44c1f167-78e1-49e1-896e-12cb82d5d47f)

&#x20; 3\. Paste these settings into the node configuration panel.

![](https://670590325-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LFpomjg5NzD-5eUbIrK%2F-LFpsVUsxomqxkT1yZ0k%2F-LFpu43yU2O_K35PZcH4%2F2018-06-25%2017_45_56-Flow.png?alt=media\&token=f1fac5ce-2b09-48d2-9f60-2885d2498a45)

### Event Name and Properties

You will also need to configure an **Event Name** and optional **Event Properties**. These will be used to send a segment [track request](https://segment.com/docs/spec/track/). This will be of the form:

```
{
  "type": "track",
  "event": your-event-name-here,
  "properties": your-custom-event-properties
}
```

### Use Cases

#### Send a 'phone-call' analytics event

![](https://670590325-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LFpomjg5NzD-5eUbIrK%2F-LFpwfcMMYrZ0nAHKDPr%2F-LFpwlhHLsIWDadxFOUc%2F1.png?alt=media\&token=bdc44e83-7105-4ecf-8b74-f274a9136f1f)

#### Send a 'voicemail' analytics event when it outside of operating hours

![](https://670590325-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LFpomjg5NzD-5eUbIrK%2F-LFpwfcMMYrZ0nAHKDPr%2F-LFpy-BYRX8bpd52BbPe%2F2.png?alt=media\&token=423d4754-2b29-451d-938e-24738e908f01)
