✨ Add Segment block (#1672)
Added support for Twilio Segment New Segment Block added to Forge. Includes the following: - Credentials - Identify User, including Traits - Alias User - Track Event, including Properties - Track Bot View ( Page ), including Properties - Generate UUID for User IDs Tested integration with Segment, verified working. Uses Segment's NodeJS analytics library to support non-browser based platforms, such as WhatsApp --------- Co-authored-by: John Walsh <john@famkit.com> Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
This commit is contained in:
25
apps/docs/editor/blocks/integrations/segment.mdx
Normal file
25
apps/docs/editor/blocks/integrations/segment.mdx
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
title: Segment
|
||||
---
|
||||
|
||||
With the Segment block, you can send events to Twilio's Segment and trigger your Segment workflows. It uses the Segment Analytics Node.js library to send server side events to Segment, so that it works on non web browser devices.
|
||||
|
||||
## How to find my `Write Key`?
|
||||
|
||||
To find your `Write Key`, you need to go to your Segment dashboard and click on the `Sources` tab. Then click on the `API Keys` button of the source you want to use.
|
||||
|
||||
## Identify User
|
||||
|
||||
This action allows you to identify a user in Segment. It requires the `User ID` and `Email` and can optionally take a set of `Traits`.
|
||||
|
||||
## Alias
|
||||
|
||||
This action allows you to alias a user in Segment. It requires the `Previous ID` and the `User ID`.
|
||||
|
||||
## Event
|
||||
|
||||
This action allows you to track an event in Segment. It requires the `Event Name` and `User ID`, and can optionally take a set of `Properties`.
|
||||
|
||||
## Page
|
||||
|
||||
This action allows you to send a page view event to Segment. It requires the Chatbot `Name` and can optionally take a `Category` name and also a set of `Properties`.
|
@ -126,7 +126,8 @@
|
||||
"editor/blocks/integrations/elevenlabs",
|
||||
"editor/blocks/integrations/anthropic",
|
||||
"editor/blocks/integrations/dify-ai",
|
||||
"editor/blocks/integrations/nocodb"
|
||||
"editor/blocks/integrations/nocodb",
|
||||
"editor/blocks/integrations/segment"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user