---
title: "Sending Events"
slug: "dataflow-custom-nodes-sending-events"
updated: 2025-05-06T11:00:59Z
published: 2025-05-06T11:00:59Z
canonical: "docs.knovvu.com/dataflow-custom-nodes-sending-events"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.knovvu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sending Events

## Sending Events
You can generate and send your own events from your custom nodes.
For sending an event just call `raiseEvent()` with an event you have prepared.
```js
var eventInformation = new EventInformation(
				channelIndex, 
				"accuweather", 
				"weather", 
				outData,
				startSampleIndex, 
				endSampleIndex,
                "",
                tags
			)
raiseEvent(eventInformation);
```

### EventInformation

```js
var EventInformation = function (
    ChannelIndex,
    ServiceName,
    EventName,
    Data,
    StartSampleIndex,
    EndSampleIndex,
    GroupId,
    Tags)
```
#### Properties:

| name | explanation |
| --- | --- |
| ChannelIndex | the channel number for this event.  |
| ServiceName | the name of the service. You can use your node name as the service name. |
| EventName | the name of this event |
| Data | any additional data in json format |
| StartSampleIndex | start sample index of the audio this event corresponds to. This index is relative to the beginning of the session |
| EndSampleIndex | start sample index of the audio this event corresponds to. This index is relative to the beginning of the session |
| GroupId | groupId for this event |
|Tags| An array of strings that contain the tags attached to this event.|

See [here](/v1/docs/dataflow-architecture-textual-data#events) for more info about Data Flow events.
