When the output of an activity matches the input of the next activity, you can assign the output as the input for the next activity.
Procedure
Open the properties of the activity that you want to specify the input as the output for another activity.
On the Inputs tab, for the input type that accepts the output of previous activity, specify the input.