Sap flow is one of the most important physiological water transport processes of trees, and the characteristics of sap flow are greatly affected by the spatial and temporal distribution of water in the SPAC (soil–plant–atmosphere continuum). However, different precipitation characteristics have great influence on the water environment of forest trees, which causes considerable differences in sap flow. Therefore, researching the response of sap flow to precipitation type is the key to accurately determining plant transpiration in semi-arid areas. We used K-means clustering analysis to divide the rainfall during the study period into three rainfall types (the highest rainfall amount and intensity (types I), medium rainfall amount and intensity, with a long duration (types II); and the lowest rainfall amount and intensity (types III)) based on the rainfall amount and intensity in order to compare the differences in the response of sap flow trends and influencing factors of Pinus tabulaeformis and Robinia pseudoacacia under different rainfall types. The results showed that, under the daily scale average sap flow of P. tabulaeformis and R. pseudoacacia, rainfall type II decreased significantly relatively to rainfall types I and III (p < 0.05). In rainfall type II, The sap flow characteristics of R. pseudoacacia were positively correlated with solar radiation (p < 0.05), while those of P. tabulaeformis were positively correlated with temperature, solar radiation, and VPD (p < 0.01). The sap flow of P. tabulaeformis and R. pseudoacacia were significantly positively correlated with temperature, solar radiation, VPD, and soil moisture content (p < 0.01) and negatively correlated with relative humidity (p < 0.05) in rainfall type III. The hourly sap flow of P. tabulaeformis and R. pseudoacacia on rainfall days was higher than before the rainfall. Rainfall type I promoted the daily sap flow of both species, and the proportion of the sap flow in daytime was also higher. On rainy days, the sap flow rates of rainfall type I and III showed a “midday depression”. In type I rainfall events, the sap flow “midday depression” after rainfall occurred an hour ahead compared to the sap flow “midday depression” before rainfall. In type II rainfall events, the daytime sap flow rates of P. tabulaeformis and R. pseudoacacia were obviously inhibited, but the nighttime sap flow rate increased. In type III rainfall events, the sap flow before rainfall presented a unimodal curve versus time. The daily average sap flow of R. pseudoacacia was more susceptible to rainfall type II, while P. tabulaeformis was more susceptible to rainfall types I and III. The sap flow rate of R. pseudoacacia decreased on rainy days. The results show that the effects of different rainfall types on the sap flow trends of P. tabulaeformis and R. pseudoacacia were different. They revealed the responses of their sap flow trends to meteorological factors under different rainfall types, which provided basic data and theoretical support for further predicting the sap flow trends on rainy days, clarifying the effects of rainfall amount, rainfall duration, and rainfall intensity on sap flow trends and accurately estimating the transpiration water consumption of typical tree species in the sub-humid climate regions of China.