Switch user

Purpose of this building block

An Ultradox flow is always executed under the owner's account. Using the Switch User building block you can change the account that is executing the subsequent flow.

0 variables
0 variables

Possible use cases

  • Create events in the calendars of another user
  • Upload documents to the other user's Google Drive

Configuration

Click on the bold text in the title of the building block to open the configuration dialog.

After sharing the document you then add the account(s) you may want to switch to.

Open the settings dialog and click on the plus sign to send out add the desired accounts. Adding accounts will send out an invitation email that contains a link that the invited users have to click on in order to accept the invitation.

Users that have clicked on the link in the invitation email will appear in the list of authorized accounts if you click on the reload icon in the settings dialog.

All accounts showing up in the list will be ready to switch to.

Switch user

Click on the edit icon to specify the email of the account you want to switch to. Feel free to use a variable containing the email. This allows you for example to switch to a user based on a selection in Google Form.

You can only invite users that have been using Ultradox before and have granted access to their data (like Google Drive etc.)

First of all you will have to share the Ultradox file with the user you want to switch to. Your flow may contain scripts that need to be authorized by the other user, so he will need to grant access if you for example want to add events to his calendar.

Useful combinations

From to create a calendar event for another user

GOOGLE FORM
userName
userEmail
date&time
subject
userEmail
date&time
CALENDAR EVENT
subject

A Google Form is used to receive the user request for a new calendar event. The from asks for the users' name, email-address and the desired date and subject for the event.

Using the Switch user building block the user who executes the further steps of the flow is switched to the user / email derived within the form.

Once the user is switched a new calendar event is created for the requesting user.

Questions and Feedback

If you have any comments on this guide, feel free to add them right to the Google document that we are using to create this site.

If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.

Last Updated:

Share on Google+Share on FacebookShare on TwitterShare on LinkedIn