Number of Days between Dates ...
assigned to your personal Custom Field

Classification Basic
Platform ManyChat

Prerequisite

1. CREATE A CUSTOM FIELD YOU'RE GOING TO USE. THIS SCRIPT WILL ASSIGN THE NUMBER OD DAYS TO THIS CUSTOM FIELD
2. SET THE DYNAMIC RESPONSE URL TO
https://chatbotshop.net/cl-server/ncd-formatter/datesdiff.php
3. FILL IN THESE FORM FIELDS AND COPY-PASTE THE JSON CODE
JSON Code goes into the Body Request area inside ManyChat's Dynamic Response section
this is the name of your custom field to which the number will be assigned
Secret Key from Us - Click here to get one
Copy the Code below this line and paste it inside ManyChat's Dynamic Response section
The values between () need to be replaced in your ManyChat section! Replace them by a custom user/bot field.

Desired Outcome

If you did everything according to the instructions above, your ManyChat flow will now have a custom_field with the number of days between the dates.

Please note: your custom field MUST already exist BEFORE running this code or you will get an error.