# Create a link in Notification email that includes a Query string

**URL:** <https://community.gravityforms.com/t/create-a-link-in-notification-email-that-includes-a-query-string/16975>\
**Category:** Get Help\
**Tags:** custom, gravity-flow\
**Created:** [March 3, 2024, 3:42pm UTC](https://community.gravityforms.com/t/create-a-link-in-notification-email-that-includes-a-query-string/16975 "2024-03-03T15:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emailme](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@emailme](https://community.gravityforms.com/u/emailme)\
**Post date:** [March 3, 2024, 3:42pm UTC](https://community.gravityforms.com/t/create-a-link-in-notification-email-that-includes-a-query-string/16975/1 "2024-03-03T15:42:16Z")

</div>

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.

- [www.mydomain.com/e-card/my-ecard/?recipientname=john&sender=james&message=happy%20birthday%20john](http://www.mydomain.com/e-card/my-ecard/?recipientname=john&sender=james&message=happy%20birthday%20john)

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

---

<div class="post-metadata">

**Author:** ![JamieO](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/jamieo/32/2521_2.png) [@JamieO](https://community.gravityforms.com/u/JamieO)\
**Post date:** [March 3, 2024, 3:59pm UTC](https://community.gravityforms.com/t/create-a-link-in-notification-email-that-includes-a-query-string/16975/2 "2024-03-03T15:59:34Z")

</div>

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.

- [customize the notification contents](https://docs.gravityforms.com/gform_notification/)
- [Creating a custom merge tag](https://docs.gravityforms.com/gform_replace_merge_tags/#h-replace-a-custom-merge-tag)
- [Populating dropdowns dynamically](https://docs.gravityforms.com/dynamically-populating-drop-down-or-radio-buttons-fields/) or using [Image Choices plugin]([Gravity Forms Image Choices - JetSloth](https://jetsloth.com/wordpress-plugins/gravity-forms-image-choices/)

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [April 2, 2024, 4:00pm UTC](https://community.gravityforms.com/t/create-a-link-in-notification-email-that-includes-a-query-string/16975/3 "2024-04-02T16:00:10Z")

</div>

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