How can I make this Overseerr integration work to search input text?

I am very new to HA, but am trying to attempt to get this integration (GitHub - vaparr/ha-overseerr: Home Assistant Custom component for Overseerr) to work. Ideally I would like to have text input boxes (which I have managed to get in place) on a dashboard for the requested search, then have the integration run when a button is clicked, and have it complete the search. I have tried setting up a script (thinking that would be the way), but had no idea what I was doing or what to put in it to get it to work, and ended up getting frustrated and just deleting it altogether. I am thinking that a variable will have to be set using the text box input (no idea how that works in HA) and then that variable will have to be passed (somehow) to the integration. Can anyone give me some assistance on this please?

I figured it out, for anyone who stumbles upon this in the future, you need to create a text input box that will be the “helper_text” entity. Then have two buttons that run the bellow scripts. You will need the Overseerr request integration (GitHub - vaparr/ha-overseerr: Home Assistant Custom component for Overseerr) installed and configured.

Movie Script:
script name: movie_request

action: overseerr.submit_movie_request
data:
  name: "{{ states('input_text.helper_text') }}"

Show Script:
script name: show_request

  action: overseerr.submit_tv_request
data:
  name: "{{ states('input_text.helper_text') }}"
  season: latest

Here is the dashboard card, it will also have a button to launch Plex:

type: vertical-stack
cards:
  - type: entities
    entities:
      - entity: input_text.helper_text
        name: Movie/Show Name
  - square: true
    type: grid
    cards:
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: toggle
        entity: script.movie_request
        name: Request Movie
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: toggle
        entity: script.show_request
        icon: mdi:television
        name: Request TV Show
      - show_name: true
        show_icon: true
        type: button
        tap_action:
          action: url
          url_path: http://plexip:port
        icon: mdi:theater
        name: OPEN PLEX
    columns: 3
title: Media Request