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 { workflowUpsertRecordActionSettingsSchema } from './upsert-record-action-settings-schema';

export const workflowUpsertRecordActionSchema = baseWorkflowActionSchema.extend(
  {
    type: z.literal('UPSERT_RECORD'),
    settings: workflowUpsertRecordActionSettingsSchema,
  },
);