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

797 B
Raw Blame
import { createPiece } from '@activepieces/pieces-framework';
import { orimonAuth } from './lib/common/auth';
import { sendMessage } from './lib/actions/send-message';
import { newLead } from './lib/triggers/new-lead';
import { createCustomApiCallAction } from '@activepieces/pieces-common';

export const orimon = createPiece({
  displayName: 'Orimon',
  auth: orimonAuth,
  minimumSupportedRelease: '0.36.1',
  logoUrl: 'https://cdn.activepieces.com/pieces/orimon.png',
  authors: ['sanket-a11y'],
  actions: [
    sendMessage,
    createCustomApiCallAction({
      auth: orimonAuth,
      baseUrl: () => 'https://channel-connector.orimon.ai/orimon/v1',
      authMapping: async (auth) => ({
        authorization: `apiKey ${auth.secret_text}`,
      }),
    }),
  ],
  triggers: [newLead],
});