Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

390 B
Raw Blame
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { buttondownAuth } from '../common/auth';
import { BUTTONDOWN_BASE_URL } from '../common/client';

export const customApiCall = createCustomApiCallAction({
  auth: buttondownAuth,
  baseUrl: () => BUTTONDOWN_BASE_URL,
  authMapping: async (auth) => ({
    Authorization: `Token ${auth.secret_text}`,
  }),
});