top of page
Search
Writer's pictureDave Parrish

Put a Details Page Link in an Email in your Knack App



Hello, it’s Dave Parrish here with Knack Builders! In today’s blog post, I’m going to walk you through how to add a link to a details page within an email in your Knack database app, which can be super useful in a variety of business processes. Whether you're sending an invoice to be reviewed, a lead to a salesperson, or a service request to a manager, this technique helps streamline communication by taking the recipient straight to the relevant page. Let’s dive into the process, step-by-step.


Why Would You Need a Details Page Link in an Email?

Before we jump into the technical details, let me briefly explain why you might want to do this. Imagine this scenario: an invoicing app sends an email to a reviewer with a summary of an invoice, but instead of having to manually log into the system to find the invoice, the email includes a direct link. The reviewer clicks the link, and bam, they're taken straight to the invoice details.

This can apply to many other situations as well that are common in Knack apps:

  • Sales Process: A salesperson is assigned a lead and gets an email that takes them directly to the lead’s details.

  • Service Requests: A service manager receives an email with a link to the request that’s been submitted.

  • Task Assignments: Team members can be directed to the specific task they need to work on, just by clicking a link in the email.

Now, let's look at how to set this up.


Step-by-Step Guide: How to Add a Details Page Link


Step 1: Access the App and Find the Details Page

Let’s take an invoicing app as an example. First, you’ll want to go into the app and pull up the page that contains the details of whatever record you're working with—in this case, an invoice. In Knack's backend, locate the invoice the user is working on.

Once you've got the invoice open, you should see a "details" page—this is the page you want the recipient of the email to access.


Step 2: Copy the URL

Now, it’s time to grab the link to the details page. Look at the URL in your browser. You’ll notice that it contains several key elements:

  1. Account Name: This identifies your account in the app.

  2. App Name: This tells the system which app you’re working in.

  3. Record ID: This is the unique identifier for the specific invoice (or other records) you're viewing.

For this to work correctly, you’ll want to copy the entire URL up until the record ID, which identifies the specific page.


Step 3: Insert the Link into the Email

Next, head over to the email template where you want to insert the link. You can add the link wherever it makes sense, such as a line that says, “View the invoice here.”

To insert the link:

  1. Highlight the text you want to use as the hyperlink (e.g., "View the invoice here").

  2. Click on the "Insert Link" button in your email editor.

  3. Paste the URL (minus the record ID) into the link field.

For example, you should paste everything except the part of the URL that contains the record ID.


Step 4: Use Dynamic Variables

To make the link dynamic, so it works for different invoices, you’ll need to replace the record ID with a variable that the system will recognize and insert when the email is sent. Most systems will allow you to use something like {Record ID}, which the system will automatically replace with the correct ID for the specific invoice or record when the email is sent.


Step 5: Test and Double-Check

Before sending the email out to your Knack users, make sure to test it. Send yourself a test email and click the link to ensure it takes you directly to the correct details page. This is an important step to make sure that everything is working as expected.



Things to Watch Out For


Avoid Copy-Paste URL Issues

A common pitfall is copying and pasting the entire URL directly, especially if it contains spaces or special characters. Sometimes, when you copy a URL that contains spaces, it might automatically get converted into something like %20 (which is URL encoding for a space). This can break the link and lead to errors when the recipient clicks on it. This isn't a Knack thing, it is just how URL encoding works.

Here’s an example of what can happen:

  • You copy the full URL with the record ID and paste it into the email.

  • When you send the email, the link may turn into something like: URL {Record%20ID}

  • The %20 for the space causes the link to break.

To avoid this, try to manually type out the URL when adding the dynamic record ID, or ensure you're pasting it correctly.


Don’t Forget to Use the Correct URL

Make sure that the URL you're linking to is correct for the specific user or recipient of the email. If you’re setting up a workflow for multiple users or types of records (e.g., invoices, leads, service requests), each user should get the correct link that corresponds to the record they're meant to review.


Conclusion: Why This Simple Step Makes a Big Difference


Adding a details page link to your emails is a simple yet powerful way to streamline workflows and improve communication. It saves time by taking users directly to the information they need, ensuring they don’t have to waste time searching for it. Plus, it makes your emails feel more personalized and professional.

Whether you're working with invoices, sales leads, or service requests, this method is incredibly versatile and can be applied in many situations. So, give it a try, and see how it works for you!


If you’ve got any Knack questions or run into issues while setting this up, feel free to leave a comment below. Thanks for reading!


Interested in my Knack database services? ... Book a call with me here: https://calendly.com/daveparrish/callwithdave 




2 views0 comments

Recent Posts

See All

Comments


bottom of page