2
0
Files
bot/packages/forge/repository/definitions.ts
John Walsh 29ab812512 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>
2024-08-16 17:23:23 +02:00

29 lines
1.2 KiB
TypeScript

// Do not edit this file manually
import { anthropicBlock } from '@typebot.io/anthropic-block'
import { openRouterBlock } from '@typebot.io/open-router-block'
import { togetherAiBlock } from '@typebot.io/together-ai-block'
import { elevenlabsBlock } from '@typebot.io/elevenlabs-block'
import { difyAiBlock } from '@typebot.io/dify-ai-block'
import { mistralBlock } from '@typebot.io/mistral-block'
import { qrCodeBlock } from '@typebot.io/qrcode-block'
import { chatNodeBlock } from '@typebot.io/chat-node-block'
import { calComBlock } from '@typebot.io/cal-com-block'
import { openAIBlock } from '@typebot.io/openai-block'
import { nocodbBlock } from '@typebot.io/nocodb-block'
import { segmentBlock } from '@typebot.io/segment-block'
export const forgedBlocks = {
[openAIBlock.id]: openAIBlock,
[calComBlock.id]: calComBlock,
[chatNodeBlock.id]: chatNodeBlock,
[qrCodeBlock.id]: qrCodeBlock,
[difyAiBlock.id]: difyAiBlock,
[mistralBlock.id]: mistralBlock,
[elevenlabsBlock.id]: elevenlabsBlock,
[anthropicBlock.id]: anthropicBlock,
[togetherAiBlock.id]: togetherAiBlock,
[openRouterBlock.id]: openRouterBlock,
[nocodbBlock.id]: nocodbBlock,
[segmentBlock.id]: segmentBlock,
}