Learn about different types of properties used in triggers / actions
variant
option to style the markdown, using the MarkdownVariant
enum:
variant
is INFO.
Example:
{{ webhookUrl }}
in the
markdown snippet.auth
as it is
hardcoded. However, for other properties, use their respective names.auth
as it is
hardcoded. However, for other properties, use their respective names.code
property which is a function that takes in an object parameter which will have the following schema:
Parameter Name | Type | Description |
---|---|---|
onChange | (value:unknown)=>void | A callback you call to set the value of your input (only call this inside event handlers) |
value | unknown | Whatever the type of the value you pass to onChange |
containerId | string | The ID of an HTML element in which you can modify the DOM however you like |
isEmbedded | boolean | The flag that tells you if the code is running inside an embedded instance of Activepieces |
projectId | string | The project ID of the flow the step that contains this property is in |
disabled | boolean | The flag that tells you whether or not the property is disabled |
property | { displayName:string, description?: string, required: boolean} | The current property information |
code
property function to remove any listeners or HTML elements you inserted (this is important for development mode, the component gets mounted twice).minimumSupportedRelease
property to be at least 0.58.0
after introducing this property to it.