Initial import of verae-activate from zapier monorepo

This commit is contained in:
George Lambert 2026-09-11 13:32:07 -04:00
commit 0166c80bbf
12 changed files with 1363 additions and 0 deletions

29
creates/echo.js Normal file
View file

@ -0,0 +1,29 @@
/**
* Echo returns the input string. Second activate-now action (no backend).
* @module creates/echo
*/
const perform = async (_z, bundle) => {
const text = String(bundle.inputData.text ?? '');
return { text, length: text.length, mode: 'local' };
};
module.exports = {
key: 'echo',
noun: 'Echo',
display: {
label: 'Echo Text',
description: 'Returns the text you send. No API required.',
},
operation: {
cleanInputData: false,
inputFields: [{ key: 'text', label: 'Text', type: 'string', required: true }],
perform,
sample: { text: 'hello', length: 5, mode: 'local' },
outputFields: [
{ key: 'text', type: 'string' },
{ key: 'length', type: 'integer' },
{ key: 'mode', type: 'string' },
],
},
};