hi @Ramarm
Not sure I fully understand your question. If you want to build an integration that presents itself as a custom automation action block you don’t have to specify the trigger not the recipe. Just have an workflow block that takes the itemId from the trigger and - depending on the trigger type selected by the user - you will have access to the itemId.
Like this app that has only two actions and a few fields, a sentence for the action and a run URL
The run Url is routed to this endpoint
async function recipeAction(req, res) {
const { payload } = req.body;
const { inputFields } = payload;
const { boardId, itemId, columnId, durationStart, durationEnd } = inputFields;
const { authorization } = req.headers;
and as you can see the itemId is passed to the function. Is that what you are looking for?
Hey @basdebruin , Thank you very much for helping me.
somehow it didn’t work yesterday but today worked ok. Maybe somethings in my configurations wasn’t right.
Thank you!
Hi @basdebruin, is it possible to get the itemId from the “When status changes to something” built-in trigger? thanks
Sure you can. If you pick the built-in trigger “When status changes…” you can get the itemId from the trigger output in your custom action.
@basdebruin thank you! I see it’s actually documented here: Built-in triggers