Public Edit Forms

Although Podio allows creating webforms quite easily, these can only be used to create new items.

If you have existing records and want external contacts to edit (or complete) them, it is currently not that easy.

ProcFu’s new Mini Apps make this a breeze.

Your Podio App

First, we’re going to need an app in Podio. For this example, we have an Applications app with some fields we want people to fill in.

Public Edit Forms - Your Podio App

The actual fields are not important at all. This is just what’s being used for this example.

What is important though, is that we have a secret link we can send each contact to be able to fill in the form. To store the “secret” part of the link, we’ll create a single-line text field.

Public Edit Forms - The Secret Link

The Mini App Portal

Next, let’s set up the Mini App in ProcFu to allow editing of these records.

For authentication, we’ll select “Link in URL” with this “Applications” app, and the “Link Secret” field for the password. We also need to choose the name of the URL parameter we’re going to be passing the password in (in this case “foo”).

Public Edit Forms - The Mini App Portal

To make creation of the editing screen easier, we’ll again click on the “+d” icon by the linked app name. This will create a new screen with some of the fields already pre-filled.

Now we just need to select “Edit” as the item mode, and choose which fields to show and/or lock.

Public Edit Forms - The Mini App Portal

To make the user experience nicer, we’ll also add a text screen with some confirmation message, and link it to the on submit event of the previous screen.

Public Edit Forms - The Mini App Portal

Lastly, we’ll tell the Mini App to start on the details screen.

Public Edit Forms - The Mini App Portal

Note that you could easily split up the form into multiple pages. All you’d need to do is create multiple screens on the same app, and specify which screen to go to on submit of the previous one. This is a great way to chunk the form data.

Our mini app won’t work just yet. If you go to the URL of the app, you’re going to get an error.

Public Edit Forms - Creating Links

This is because we’re missing the password which the app is expecting to be in the “foo” URL parameter.

In order to automate creating and sending of links, we’re going to leverage GlobiFlow. A simple flow to trigger when someone types in a comment with “share”, to create the link and send it.

Public Edit Forms - Creating Links

To create a password, we’re going to use a variable with md5(uniqid()) and save it to the item.

Public Edit Forms - Creating Links

To create a link, we’re going to use a variable and append ?foo=[password] to the Mini App’s URL, and to make things a little more pretty, we’ll create an HTML button-styled link.

Public Edit Forms - Creating Links

Lastly, we’re going to send an email to the person on the application with some welcome text and the button to the form.

Public Edit Forms - Creating Links

Walk-Through

Now that everything’s set up, we can see it in action.

When a new application is created (however that happens is up to you), and someone adds a comment of “share”, the automation will create the password and email the link to the contact on the record.

Public Edit Forms - Walk-Through

Here’s the received email.

Public Edit Forms - Walk-Through

And when the link/button is clicked on, the user will be presented with a form to edit the fields we configured earlier.

Public Edit Forms - Walk-Through

They can only edit fields we allowed them to change.

Public Edit Forms - Walk-Through

And when they save, they will be presented with our text confirmation screen.

Public Edit Forms - Walk-Through

And the record will have been updated accordingly in Podio.

Public Edit Forms - Walk-Through

If you want to prevent further changes, you can simply automate removal of the Link Secret at this point using GlobiFlow again.