Skip to content

The open alternative to Salesforce, designed for AI.

386 B
Raw Blame
import { z } from 'zod';
import { baseWorkflowActionSchema } from './base-workflow-action-schema';
import { workflowCreateRecordActionSettingsSchema } from './create-record-action-settings-schema';

export const workflowCreateRecordActionSchema = baseWorkflowActionSchema.extend(
  {
    type: z.literal('CREATE_RECORD'),
    settings: workflowCreateRecordActionSettingsSchema,
  },
);