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

1.1 KB
Raw Blame
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { sendAPrompt } from './lib/actions/send-a-prompt';
import { newLeadSubmission } from './lib/triggers/new-lead-submission';
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { guideliteAuth } from './lib/common/auth';
import { BASE_URL } from './lib/common/client';
import { PieceCategory } from '@activepieces/pieces-framework';

export const guidelite = createPiece({
  displayName: 'GuideLite',
  auth: guideliteAuth,
  minimumSupportedRelease: '0.36.1',
  logoUrl: 'https://cdn.activepieces.com/pieces/guidelite.png',
  authors: ['sanket-a11y'],
  description:
    'GuideLite is a platform that helps organizations build and utilize AI assistants',
  categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],
  actions: [
    sendAPrompt,
    createCustomApiCallAction({
      auth: guideliteAuth,
      baseUrl: () => BASE_URL,
      authMapping: async (auth) => {
        return {
          authorization: `Bearer ${auth.secret_text}`,
        };
      },
    }),
  ],
  triggers: [newLeadSubmission],
});