Create a link in Notification email that includes a Query string

Hi there, just looking into the feasibility of something.

My client has a PHP site for sending out e-cards and I was wondering if I could replicate it in WordPress using Gravity Forms.

1 There’s a custom post type ‘E-Card’ that has:

a Featured Image
a Title
an MP4 animated version of the featured image
a Form that contains the field:

  • Recipients Name
  • Recipients Email
  • Senders Name
  • Senders Email
  • Message
  • Submit Button
  1. A notification email gets sent to {Recipient Email) which should include

The Featured Image
Senders Name
Recipients Name
Message
Link back to the post using a custom url with query string.

  1. I’ll use javascript to decode the query string in the URL and show a personalised message on the post page.

To John
Happy Birthday John
From James

Is this possible

Thanks

Very possible!

I did something similar, using ACF on the CPT with a little JS to let the card configurator put text boxes as overlays on the image, so that the form submitter could write a message that would get placed in along with their name / relation.

A couple doc links that’d help you out with it.

All that could be done without Gravity Flow. But some neat enhancements that you could add with it in the mix:

  • Approval Step or User input step to let an admin / senders manager / etc chose to add their own additional comment to the card or include a gift card / other recognition component.
  • Use an outgoing webhook step to store the generated card to an external service.
  • Setup scheduled reminder notifications in a “Remember when…” concept.

Cheers,
Jamie

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.