Number of Days between Dates ...
assigned to your personal Custom Field
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
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
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.
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.