I need the current date and the date for 7 days ago in the first step of a webhook to insert into my call (no time, just formatted MM/DD/YYYY). I figured that I could do create a first step and use the formatter in the first step based on {{zap_meta_human_now}}, but Zapier wont let me create a first step with the formatter. What’s the best way to handle this?
Hey there,
I wonder if this similar question might be helpful:
Eager to hear what the Community is able to surface for ya!
Thank you. After going back and forth with support, we it was determined that it is not possible to manipulate a date to be used in a webhook call unless it is custom coded, primarily, since the formatter cannot be used as a first step preceding a webhook. A feature request has been made, because it would only make sense, since maybe your web hook needs a custom formatted date.
Can you further describe the workflow you are trying to automate?
What apps are involved?
I am pulling transactions from one system’s reporting API (using Cake Marketing) via a webhook, and I am posting that data to another reporting system. Within the webhook, there are required fields “start_date” and “end date”. The start date should be yesterday’s date or the day before, and the end date today or possibly tomorrow. I would use the formatter, but it doesn’t seem like you can create a step 1 with formatter that would go before the step 2 with a webhook.
Try these Zap steps…
- Trigger: Schedule - Daily
- Action: Formatter > Date / Time > Format
- Action: Webhook - GET Request
- CAKE
- Action: Webhook - POST Request
Hiya
I wanted to double check if Troy’s latest recommended steps helped? Keep us posted!
Try these Zap steps…
- Trigger: Schedule - Daily
- Action: Formatter > Date / Time > Format
- Action: Webhook - GET Request
- CAKE
- Action: Webhook - POST Request
I am attempting to setup a test, but since this method uses a “Webook - Get”, instead of a “Retrieve Poll”, I do not see a way to choose a “Deduplication Key”. Without deduplication, wouldn’t STEP 4 fire for every record in the GET request, every time it is run? I only want to send new records.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.