How to Identify Duplicate Connections in Pipedream Despite Different Account IDs?

This topic was automatically generated from Slack. You can find the original thread here.

Is there a way to dedupe connections in Pipedream? For example, if a user connects to Google Calendar and then reconnects to Google Calendar with the same email - is there a consistent way to identify that it is the same account?

I noticed that pipedream returns a new account.id upon every connection event here, so wonder if there is another approach recommended by the Pipedream team

Not precisely, but you could look at account.name as a pointer — that often corresponds to the user’s email or username in the relevant app.