What is the easiest, no-code way to add a timestamp to a PD trigger or code step?

Hello,

so what is the easiest no-code way to add a timestamp to a PD trigger or code step?
There might be some Utility tool…
I found this:
***://pipedream.com/community/t/how-do-i-get-the-current-time-in-my-timezone/375
but I think there must be some easier to use tool other than a Node code step with new library import.

I mean something like Triggers, Transformers and Actions here:

or some utils and tools available there:

Thanks !

Hi @vanetreg

Great question!

The workflow’s steps.trigger.context contains contextual information about the source and the event trigger.

For example, there’s a timestamp value here steps.trigger.context.ts

As for actions, there are common utility type functions under the Helpers app. There’s a specific one for generating timestamps:

Are you trying to log timestamps of when actions are started and finished?

1 Like

Hi @pierce

I got it, I missed
steps.trigger.context.ts

Also, I forgot the “Helper” name to search for code steps…

Thank you ! :slight_smile:

1 Like