If you're looking to import data from your app, you can use the query step. A query fetches records in a page-by-page manner through a process called pagination.
In this example, we'll "Import Issues from GitHub repositories into Integry" using queries.
- Go to the Flows tab from the top menu.
- Create a new flow.
- Search and select Setup.
- Setup acts as a trigger in this flow and runs all the child steps.
- Setup doesn't require any configuration. Click Done.
- Setup acts as a trigger in this flow and runs all the child steps.
- Add GitHub in the child step.
- Add "Get All Issues" query.
- Click on "Add My Account."
- Sign in to your account.
- Authorize Integry to access your GitHub account.
- Enter the number of records you want to import.
- The records will be imported page-by-page, and the number you provide will be rounded to the nearest page.
- Leave this field empty, if you want to import all records.
- Select the repository from which you want to import issues.
- Click Continue.
- Click Test.
- If the query executes successfully, you will get a list of issues from the selected repository.
- Expand Iteration 1 to view the results. Click Next Page to fetch more records.
- The number of iterations equals the number of pages of records the connected account holds.
- You can keep bringing the next iterations until all the records are exhausted.
- Click "Test Again" if you want to fetch the records again.
- You can save and publish your flow or continue adding more steps.
Comments
0 comments
Please sign in to leave a comment.