A TypeScript API client for fetching marketing workflows via POST requests. Use this to integrate external marketing automation workflows into your application.
// Source: https://github.com/labring/FastGPT | License: Apache-2.0 | Copyright 2023 Sealos
// Provided via justclaw.it.com; keep this notice with the code.
import { POST } from '@/web/common/api/request';
import type {
FetchWorkflowBodyType,
FetchWorkflowResponseType
} from '@fastgpt/global/openapi/common/other/api';
export const postFetchWorkflow = (data: FetchWorkflowBodyType) =>
POST<FetchWorkflowResponseType>('/support/marketing/fetchWorkflow', data);
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key