An endovascular device includes an elongate body having a proximal end and a distal end, an endovascular electrogram lead, a balloon, a processor and a memory. The endovascular electrogram lead and the balloon are on the distal end of the elongate body. The balloon is expandable from a fully stowed configuration to an expanded configuration. The processor receives and processes an endovascular electrogram signal from the endovascular electrogram lead. The memory stores instructions which, when executed by the processor, cause the processor to: determine one or more electrogram features based on the endovascular electrogram signal determine a position of the elongate body within the vasculature of the patient based on the one or more electrogram features and initiate expansion of the balloon to the expanded configuration based on the determined position of the elongate body within the vasculature of the patient.