3) Creating an Import Action

The import action imports the asset, and moves the file to the storage resource you have created for your media.

To create an import action, follow these steps:

1) In the Ooyala Flex console, from the toolbar, click the New option.

2) From the drop down, select Action.

3) In the Create new Action... screen, you will need to fill in the details for your import action.

4) In the Name field, enter a name for your import action.

5) In the Description field, enter an optional description.

6) From the Visibility field, select the workspaces, accounts, and groups that will have access to the import action.

7) From the Plugin Type drop down, select Import.

8) From the Plugin drop down, select Asset Import Action.

9) Click Save.

10) Next, click the Configuration sub-tab.

11) Click the Edit option.

12) Expand the Source File complex, by clicking the + icon.

13) In the Source Resource Item field, click the expression button, located to the right of the field. Then enter the following expression: ${variables.resource.id}

14) In the Item Name field, enter the following expression: ${variables.resourceItemName}

15) In the Title field, enter a title. This could be the same as the item name.

16) From the Asset Origin drop down, select Import.

17) From the Move File field, select the folder you have created.

18) Click Save.

19) Click Enable.