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
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { PieceAuth, Property } from '@activepieces/pieces-framework';
const markdownDescription = `
Follow these instructions to get your Upgrade.chat API Key:
1. Visit the following website: https://crm.upgrade.chat/ or the beta website: https://betacrm.upgrade.chat/
2. Once on the website, locate and click on the admin to obtain your Upgrade.chat API Key.
`;
export const upgradechatAuth = PieceAuth.CustomAuth({
description: markdownDescription,
required: true,
props: {
base_url: Property.StaticDropdown({
displayName: 'Base URL',
description: 'Select the base environment URL',
required: true,
options: {
disabled: false,
options: [
{
label: 'Upgrade.chat Live (crm.upgrade.chat)',
value: 'https://crm.upgrade.chat/',
},
{
label: 'Upgrade.chat Beta (betacrm.upgrade.chat)',
value: 'https://betacrm.upgrade.chat/',
},
],
},
}),
api_key: PieceAuth.SecretText({
displayName: 'Secret API Key',
description: 'Enter the API Key',
required: true,
}),
},
});