That part is not possible yet, we need to have workflow system first in order to support that.
The only way for now is to trigger API manually with custom code.
I’ll write you detailed example here in 1-2 once I get back home
Awesome, @dejan, thank you so much! I know you guys are working like crazy on development (it shows in the changes to the builder). You guys have made it so easy to do all of the easy stuff that I actually feel curious enough to venture into some of the more advanced stuff. Thank you for all of your help!
$('#emailSubForm').submit(function(event) {
console.log("Form is submitted");
event.preventDefault();
const source = encodeURI("https://opsmachine.co")
let email = $('#subFormEmail').val(); // Replace 'email' with the actual name attribute of your email input field
let input = {
id: 223, // Your REST API Request ID
properties: [
{key: 'email', value: email},
{key: 'source', value: source}
// Add other properties here
]
};
mdActions.ItemGet('REST').Fn('run', {}, input, (success) => {
console.log(success); // Will return {success, message, data}
},
(error) => {
console.log(error); // Will return {success, message}
});
});