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 { isNil } from '@activepieces/core-utils'
import { ProcessorFn } from './types'
export const objectProcessor: ProcessorFn = (_property, value) => {
if (isNil(value)) {
return value
}
if (typeof value === 'string') {
try {
return JSON.parse(value)
}
catch (e) {
return undefined
}
}
if (typeof value === 'object' && !Array.isArray(value)) {
return value
}
return undefined
}