Help with workflow link to app

Two related questions.
I have a workflow that emails me when the user submits something I need to approve. I get the email just fine. I want to include a link that would take me to the App, not in the browser, and to the specific record that prompted the email. That way I can quickly approve it.

Iโ€™m doing something wrong. The link takes me to my app, in the browser, but not to the the view I specified.

  1. can I have the link open in the App not in the browser?

  2. how can I get it to go to the specific form I want?

<<[Encouragement_NO]>>
Title: <<[Title]>>
Text: <<[Text]>>
By: <<USEREMAIL()>> on <>

<a href="<<CONCATENATE(โ€œhttps://www.appsheet.com/start/xxxxxxxxxxMyApp#xxxxxxxโ€,LINKTOROW([Encouragement_NO],โ€œ Admin_User_Submitted_Encouragements_Formโ€))>>">Link to the User Submitted Encouragement

Thanks.
Lucinda

0 15 926
15 REPLIES 15

Steve
Platinum 4
Platinum 4

You might be better off using one of these:

Thanks Steve.

That does take me directly to the form, slick.

Is there a way to have it open the App on my phone instead of going to the browser version of the app?

Iโ€™m using: <<_ROW_WEB_LINK>> : Hyperlink that refers to the added or updated record in your app. For example, you can include this URL in a workflow email to allow the email recipient to easily open the added or updated record, displayed as โ€˜Click Hereโ€™ hyperlinked.

Which makes it sound like it would open the app. (refers to the added or updated record in your app)

I honestly do not know.

No way! If not you, who should I ask? @praveen?

Sent them an email.

This is Supportโ€™s reply: My understanding from engineering is:

If you write it like <<"[https://www.appsheet.com/start/xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx#control=TableName_Detail&row="&ENCODEURL([ID])]>>

it should ask to open it either with the browser or Appsheet app.

I havenโ€™t had a chance to try this. I need to research ENCODEURL to see what to put there. Any suggestions before I go hunting?

I think the idea/expectation is that your device will recognize a URL that begins https://www.appsheet.com/start/ as one that should be handled by the app rather than the browser. Iโ€™d have the same expectation if the app is properly installed and you havenโ€™t tinkered the deviceโ€™s deeper settings. So the question is: how do we generate such a URL? I would have expected <<_ROW_WEB_LINK>> to provide that.

Please right-click on the link provided by <<_ROW_WEB_LINK>> and cut and paste it here so we can inspect it.

This is what I get when I click and copy the link from the email produced by the workflow.
https://mandrillapp.com/track/click/30578143/www.appsheet.com?p=eyJzIjoiYzhSeEc2cXdyRlRQVElfb0I5aXNa...

This is what appears in the browser when you click on the link on my iPhone;
https://www.appsheet.com/start/9d40e089-078d-4169-b2a0-113842ec0c2c?refresh=1&wipe=1#_appName=Reques...

Any idea why the difference?

The first allows the company that handles sending the app emails, mandrillapp.com, to track when the email recipient clicks on the email link. The click is logged, then the user is sent to the URL you finally ended up on. Itโ€™s that final URL that matters here (hopefully).

Hooray! Progress!

Boo! Setback!

Letโ€™s go back to what you tried originally:

<a href="<<CONCATENATE(โ€œhttps://www.appsheet.com/start/xxxxxxxxxxMyApp#xxxxxxxโ€,LINKTOROW([Encouragement_NO],โ€œ Admin_User_Submitted_Encouragements_Formโ€))>>">Link to the User Submitted Encouragement

Instead, letโ€™s try:

<a href="<<CONCATENATE(โ€œhttps://www.appsheet.com/start/9d40e089-078d-4169-b2a0-113842ec0c2cโ€,LINKTOROW([Encouragement_NO],โ€œAdmin_User_Submitted_Encouragements_Formโ€))>>">Link to the User Submitted Encouragement</a>

I copied the second one, the one that appeared in the browser, when I clicked the link on the iPhone and pasted that into the workflow, instead of the <<ROW_WEB_LINK>> and it opened the app. It DID NOT take me to the specific record/view in the app where I can approve the item. The previous link did take me to that specific record/view in the web browser.

There must be a bug causing the creation of the URL behind <<ROW_WEB_LINK>> that adds in all that extra stuff.

Hi @Lucinda_Mason and @Steve,
Im doing something similar to this for a WhatsApp message. The idea is to send a link to a particular row of the app via a WhatsApp Message.
With help of this post, some other posts, and a couple of hours, this is what worked for me, hope it works for you too:

CONCATENATE(โ€œhttps://www.appsheet.com/start/a47408ed-c648-4d73-b43d-d02b9499fa9dโ€,encodeurl(LINKTOROW([_THISROW], โ€œServicios_Detailโ€)

This is the result im getting, with all the preformatted text in the message:
3X_6_7_67cfff9fd87617385f50f8a9513c79aa755573d7.png

Thanks Nicolรกs. Iโ€™m glad you got something working. Does yours open the app or in the browser?

Iโ€™m still having issues with my current link actually syncing when I explicitly have it syncing. On my phone, I click it and it shows the App syncing but it only takes me to the opening view of the App, regardless of whether the app was open or not. Then, if I click the link again, it takes me to the exact view I need.
It ONLY happens on this link.
<a href="https://www.appsheet.com/start/922dbed2-5196-4caa-9581-401fc815a472#appName=Requests-1778436&page=detail&row=<<[Encouragement_NO]>>&table=Admin_User_Submitted_Encouragements&view= Admin_User_Submitted_Encouragements_Form&at=<<ENCODEURL(NOW())>>">Click here to Approve User Submitted Encouragement</a>

Another table and view and this link format works perfectly here. The only difference is โ€˜page=detailโ€™ versus โ€˜page=formโ€™ above. Though I tried that as well in the example above and it didnโ€™t change anything.
<a href="https://www.appsheet.com/start/922dbed2-5196-4caa-9581-401fc815a472#appName=Requests-1778436&page=detail&row=<<[PR_NO]>>&table=All_Active_Private_Requests_Visible_to_User&view=All_Active_Private_Requests_Visible_to_User_detail&at=<<ENCODEURL(NOW())>>">Please click here to add your prayer for this request.</a>

Why, oh why, is this so complicated?

Does yours open the app or in the browser?

Depending on what device Im using. If Iยดm in my computer, then its the browser. If Iยดm using my phone, it opens the app.

Although it seems that it doesnt run as smooth for browsers, since sometimes I get the same result as you,

I click it and it shows the App syncing but it only takes me to the opening view of the App, regardless of whether the app was open or not.

and some other times it does take me directly to the row, Im not sure why.

Top Labels in this Space