Tracardi / tracardi

TRACARDI is a new HOME for your customer data. TRACARDI is an Composable API-first solution for any company that need inexpensive CDP to intergrate with.
https://www.tracardi.com
Other
519 stars 95 forks source link

Plugin that returns a substring of a a referenced string (still open) #730

Open atompie opened 2 years ago

atompie commented 2 years ago

Is your feature request related to a problem? Please describe. Plugin that substring a referenced strings in plugin config. This plugin is very simple in terms of python. The challenge is to add it as plugin. This is also very simple if you read this http://docs.tracardi.com/plugins/tutorial/part1/ and http://docs.tracardi.com/plugins/tutorial/part2

Describe the solution you'd like User defines in plugin configuration what strings he would like to substring and the char the sub-string starts and ends.

Example of configuration

{
   "string": "event@properties.some_value",
   "start": 10,
   "end": 20
}

Input: Workflow payload

Output: Sub-string,

Additional context You will need to setup the dev environment. Here is the tutorial how to do it. Also to understand how the plugins work please read http://docs.tracardi.com/plugins/tutorial/part1/ and http://docs.tracardi.com/plugins/tutorial/part2/ . The next part is o its way so you can extend your knowledge about Tracardi plugins.

MANISH-LAB commented 2 years ago

Assign!!!

atompie commented 1 year ago

@MANISH-LAB Are you working on this issue?