Update record
To update an existing record, click on the "Update" tab after base and table selection. Powersave will find the matching record based on the website you're just visiting.
Matching
As you're browsing the web, Powersave will look for a matching records and pass it to the form for updates accordingly. Usually, this is done by comparing the currently visited URL to the URL in one of the table URL fields. Powersave tries to provide an initial configuration on its own based on the structure of your table.
You can re-configure the matching by clicking the button at the top.
Matching by Canonical URL
What is canonical URL? Canonical URL points to the most "representative" page to the set of duplicate pages. In a lot of cases canonical URL is the same as the URL you're just visiting. Still, websites often explicitly state what is the canonical url for the current page. Using the canonical url as opposed the full current url increases the chance of successful record search and match.
For example you might visit a website like acme.com/?utm=xyz
. The non-essential information in the URL, in this case the utm
parameter, might cause the record not to be found. However the website might also provide that the canonical url is acme.com
, so powersave can primarily use that.
Potentially, all query parameters could be removed, however that might not be desired in some cases, where query parameters provide essential functionality. For example, if you visit a page mydb.com/?recordId=rec...
the recordId
query parameter is essential. In this case, the canonical url, if present, points to mydb.com/?recordId=rec...
and not to mydb.com/
.
Matching by Page title
Matching by page title can be used as a good fallback mechanism, especially if there's no URL field or if the URL changes too frequently.
Matching by URL query parameter
Certain types of website store key information in query parameters. For example you might visit a website like mydb.com/?recordId=rec...
. You can set up matching for parameter recordId
against the Id
field in your table.
Matching by Page value (DOM selector)
Sometimes neither the URL nor the Page title provides unique well usable pattern for matching and the unique identifier is available only in the body of the page.
For example if you open a DM conversation in Gmail or LinkedIn and you want Powersave to find the relevant contact record, you might need to use the Element picker
to find the contact name in th UI.
Note that some websites change frequently and the DOM selectors might no longer work. For that reason it might be necessary to re-use the element picker to find a new selector every once in a while.
Multiple matching rules
You can add multiple matching rules. They stack together with the OR
operator so the more you add, the higher the chance of finding a match.
If needed, you can restrict a certain rule only to specific URLs. For example on some websites you might need to match by the content in the h1
(main header) element but for other websites, this would lead to false positives and therefore you can restrict the h1
matching only to the one specific website.
Autosave
Update form is similar to the create form in the way that it has the "Save" button at the bottom. You can however check "Autosave records" in the settings and then the record will be updated automatically for every change. This includes the autofill - once a autofill is applied in the update flow, the record will be saved.