feat(integrations): ✨ Add Pabbly block
This commit is contained in:
@ -224,6 +224,18 @@ export const StepSettings = ({
|
||||
/>
|
||||
)
|
||||
}
|
||||
case IntegrationStepType.PABBLY_CONNECT: {
|
||||
return (
|
||||
<WebhookSettings
|
||||
step={step}
|
||||
onOptionsChange={handleOptionsChange}
|
||||
provider={{
|
||||
name: 'Pabbly Connect',
|
||||
url: 'https://www.pabbly.com/connect/integrations/typebot/',
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
||||
case IntegrationStepType.WEBHOOK: {
|
||||
return (
|
||||
<WebhookSettings step={step} onOptionsChange={handleOptionsChange} />
|
||||
|
@ -27,6 +27,7 @@ import {
|
||||
defaultWebhookAttributes,
|
||||
Webhook,
|
||||
MakeComStep,
|
||||
PabblyConnectStep,
|
||||
} from 'models'
|
||||
import { DropdownList } from 'components/shared/DropdownList'
|
||||
import { TableList, TableListItemProps } from 'components/shared/TableList'
|
||||
@ -44,11 +45,11 @@ import { SwitchWithLabel } from 'components/shared/SwitchWithLabel'
|
||||
import { ExternalLinkIcon } from 'assets/icons'
|
||||
|
||||
type Provider = {
|
||||
name: 'Make.com'
|
||||
name: 'Make.com' | 'Pabbly Connect'
|
||||
url: string
|
||||
}
|
||||
type Props = {
|
||||
step: WebhookStep | MakeComStep
|
||||
step: WebhookStep | MakeComStep | PabblyConnectStep
|
||||
onOptionsChange: (options: WebhookOptions) => void
|
||||
provider?: Provider
|
||||
}
|
||||
|
Reference in New Issue
Block a user