✨ 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:
10
packages/forge/blocks/segment/schemas.ts
Normal file
10
packages/forge/blocks/segment/schemas.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// Do not edit this file manually
|
||||
import { parseBlockCredentials, parseBlockSchema } from '@typebot.io/forge'
|
||||
import { segmentBlock } from '.'
|
||||
import { auth } from './auth'
|
||||
|
||||
export const segmentBlockSchema = parseBlockSchema(segmentBlock)
|
||||
export const segmentCredentialsSchema = parseBlockCredentials(
|
||||
segmentBlock.id,
|
||||
auth.schema
|
||||
)
|
||||
Reference in New Issue
Block a user